Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Saving/storing/exporting bitmaps created within .swf's on the user's harddrive or a server

Engaged ,
Sep 09, 2014 Sep 09, 2014

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?

TOPICS
ActionScript
358
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 11, 2014 Sep 11, 2014

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.)

Translate
Community Expert ,
Sep 10, 2014 Sep 10, 2014

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 11, 2014 Sep 11, 2014

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 11, 2014 Sep 11, 2014
LATEST

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.)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines