开发者

print screen of flash movie and save as image

开发者 https://www.devze.com 2023-01-15 02:09 出处:网络
I am developing a small flash application. In my application users should be able to开发者_运维技巧 drag different elements from a toolbox into a canvas.

I am developing a small flash application. In my application users should be able to开发者_运维技巧 drag different elements from a toolbox into a canvas. At some point a user will be able to save the different elements he dragged as a picture. I wanted to know if there is a functionality that prints the screen in flash.

thank you


You could draw a Bitmap of the stage by using the BitmapData draw() method , then you could use the PrintJob class to output the resulting Bitmap to the user's printer.

0

精彩评论

暂无评论...
验证码 换一张
取 消