Copy link to clipboard
Copied
Hello,
I know you can store variables in shared objects. Is there a way to save bitmaps created within the swf?
So for example
var myBitmap:BitmapData = new Bitmap(... etc.);
//saveBitmap(myBitmap, "C:\...") ???
Thanks?
you're welcome.
p.s. here's a link to the as2 solution i've used before, Quasimondo - Mario Klingemann's Flash Blog: Flash BitmapExporter: Compress and Save Images
(p.s when using the adobe forums, please mark helpful/correct responses, if there are any.)
Copy link to clipboard
Copied
yes, use the jpegencoder class, JPEGEncoder - Adobe ActionScript® 3 (AS3 Flex) API Reference
there's an as2 solution, but it's not as easy to use.
Copy link to clipboard
Copied
Thanks
Copy link to clipboard
Copied
you're welcome.
p.s. here's a link to the as2 solution i've used before, Quasimondo - Mario Klingemann's Flash Blog: Flash BitmapExporter: Compress and Save Images
(p.s when using the adobe forums, please mark helpful/correct responses, if there are any.)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now