RE: [flexcoders] Can you take a Canvas and save it as a PNG?

2009-10-23 Thread Alex Harui
BitmapData.draw, then PNGEncoder Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Johnston Sent: Thursday, October 22, 2009 7:24 AM To:

[flexcoders] Can you take a Canvas and save it as a PNG?

2009-10-22 Thread Paul Johnston
Have a client needing image work done in an AIR application to be saved as an image. It's all working on a Canvas object, but I can't see a toImage() or toBitmap() methods to do that. Is it possible? Paul