capture user screen / print screen in as3
Hi,
i want to user print screen command in AS3 and convert into bitmap as background in fullscreen i.e.
print screen from keyboard - keycode i.e. 44
http://thetutorials.wordpress.com/20...-the-keycodes/
i want to know how can i run printscreen code from flash to capture user screen
as i want to have flash presentation in 600x600px with disabled desktop and flash presentation should be in center of screen.
any bright ideas? :)
Quote:
import flash.system.fscommand;
stage.showDefaultContextMenu = false;
stage.scaleMode = StageScaleMode.NO_SCALE;
fscommand("fullscreen", "true");
var bd:BitmapData = new BitmapData(stage.width,stage.height);
bd.draw(stage);
var screenshot:Bitmap = new Bitmap(bd);
screenshot.x = 10;
screenshot.y = 10;
addChild(screenshot);