Mega Code Archive
Categories
/
Flex
/
Graphics
VideoDisplay Camera
// Define a variable of type Camera. import flash.media.Camera; public var cam:Camera; public function initCamera():void { // Initialize the variable. cam = Camera.getCamera(); myVid.attachCamera(cam) }