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

Export all images from fla project

New Here ,
Nov 03, 2016 Nov 03, 2016

Hi All!

I want to export all the images used in our Animate fla project since we need the source files for different applications.

Is there an easy way to do this? I thought I could rename to .zip and try and copy them from the archive but it looks like the structure has changed over the years.

Thanks.

3.3K
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 , Nov 04, 2016 Nov 04, 2016
Translate
Community Expert ,
Nov 03, 2016 Nov 03, 2016

you could use a jsfl script to loop through all items in your library, select bitmaps and then use exporttofile on the bitmaps.

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
New Here ,
Nov 03, 2016 Nov 03, 2016

Thanks for your answer.

I've never used a jsfl before. Are there any examples of it?

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 ,
Nov 04, 2016 Nov 04, 2016
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
New Here ,
Nov 05, 2016 Nov 05, 2016

@kglad 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 ,
Nov 05, 2016 Nov 05, 2016

you're welcome.

p.s here's sample jsfl code to export those bitmaps:

var imageFileURL = "file:///C|/exportTest/";

var lib = fl.getDocumentDOM().library;

var item;

for(var i=0;i<lib.items.length;i++){

    item = lib.items;

    if(item.itemType=='bitmap'){

        item.exportToFile(imageFileURL+item.name+'.jpg');

    }

}

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
New Here ,
Nov 05, 2016 Nov 05, 2016

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 ,
Nov 05, 2016 Nov 05, 2016
LATEST

you're welcome.

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