acudo a su ayuda ya que lledo un buen rato con la modificacion de la captura de la web cam pero siempre me arroja 160*120 la captura el codigo que utilizo es el siguiente.
estoy tratando de colocar una captura d 320 x 240 pero no me da help me!!
Código ActionScript :
// Import the BitmapData class
import flash.display.BitmapData;
// Create a new Video Object
// Library Menu, New Video, video (Actionscript-controlled)
// Drag video symbol to stage and give it an instance name of 'video_obj'
var video_obj:Video;
// Reference the camera object and attach it to the video object
var cam:Camera = Camera.get();
video_obj.attachVideo(cam);
// Create a BitmapData Object
var camera_bmp = new BitmapData(cam.width, cam.height);
// Add a movieclip to the stage with the instance name 'capture_btn'
// and add a button event handler
capture_btn.onPress = function() {
// Draw the Video Object image onto the BitmapData Object
camera_bmp.draw(video_obj);
// Create a container movieclip
var container:MovieClip = _root.createEmptyMovieClip("container", this.getNextHighestDepth());
// Attach the BitmapData Object to the container movieclip
container.attachBitmap(camera_bmp, this.getNextHighestDepth());
}; 