I try to create a screencopy of my webcam with a bitmap data but I always
keep 160x120 for the resolution
I specify a 640x480 but got always a small copy. Got an Idea ?

Thanks, Laurent

//actionscript
import flash.display.BitmapData;
localCamera = Camera.get();//camera use
myCam.attachVideo(localCamera);//camera capture
var bitmap = new flash.display.BitmapData(640, 480, true,
0x00000000);//creation of the copy of the screen
this.createEmptyMovieClip("copie", 2);//creation of an empty MC
copie.attachBitmap(bitmap, 20, "auto", true);
bitmap.draw(myCam);
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to