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

How to Save a Movieclip as image format for Android & iOS?

New Here ,
Apr 23, 2013 Apr 23, 2013

Copy link to clipboard

Copied

Hi, I have a movieclip named MYMOVIE1 and I want to save it as Image (any Format) to a folder named MyTestApp in the SD storage using ActionScript 3? {AIR for ANDROID}

And please tell me if the same way work for iOS... Thanks

TOPICS
Development

Views

2.3K

Translate

Translate

Report

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

Advocate , Apr 24, 2013 Apr 24, 2013

Alright this requires 2 steps:

- First render the movieclip to a bitmap:

http://www.kirupa.com/forum/showthread.php?266493-Extract-Bitmap-or-BitmapData-from-MovieClip

- Then save it to a file:

http://actionsnippet.com/?p=1093

Votes

Translate

Translate
Advocate ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

Flash CS -> File -> Export -> Image

Votes

Translate

Translate

Report

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
New Here ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

Did you read the question? I want to export it on Mobile devices, and using ActionScript 3.

Votes

Translate

Translate

Report

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
Advocate ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

Alright this requires 2 steps:

- First render the movieclip to a bitmap:

http://www.kirupa.com/forum/showthread.php?266493-Extract-Bitmap-or-BitmapData-from-MovieClip

- Then save it to a file:

http://actionsnippet.com/?p=1093

Votes

Translate

Translate

Report

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
New Here ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

Does this work for both android and iOS? Thanks

Votes

Translate

Translate

Report

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
Advocate ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

LATEST

I havent tried it myself, but it definitely should. You might be interested in utilizing either File.applicationDirectory or File.applicationStorageDirectory to resolve to the correct location, see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.html

Votes

Translate

Translate

Report

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