Flex/AS code for webcam

Can any one point me to a small piece of flex/AS code to test webcam and Microphone.



The smallest amount of code you can use to create a web cam video feed is this:

var cam:Camera =  Camera.getCamera();
var video:Video = new Video(640, 480);

Glancing over the docs will give you some additional properties and arguments that you can use to suit your needs.

Update Here is a link to a working version of this code http://wonderfl.net/c/oGEY

Adobe supplies examples in the documentation. read flash.media.Camera and flash.media.Microphone. the examples you are looking for are under the getCamera() and getMicrophone() public methods of the Camera and Microphone classes respectively.

Need Your Help

javascript anonymous function call with parameter

javascript jquery dropzone.js

Can someone explain the parameter e in the anonymous function call. I am unable to understand how can the anonymous function accept the parameter (the second line in the below code). This code is t...

How do I attach an instance-specific queryset to a model in Django?

django django-models django-templates django-queryset django-managers

I am making a very minimal user-to-user messaging app using Django 1.4. I want to fetch unread messages that a user received in a straightforward way from my templates. My model looks something like

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.