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

Export png sequences from multiple files at once

New Here ,
Sep 13, 2018 Sep 13, 2018

Hey, I'm working on a project that involves a lot of exporting.

Is there a way to export png sequences and mov's from multiple fla's at once?

Thanks!

1.2K
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 14, 2018 Sep 14, 2018

Hi.

You can achieve this with JSFL.

https://help.adobe.com/archive/en_US/flash/cs5/flash_cs5_extending.pdf

Here is a script that will allow you to choose a folder where the FLAs are located and then it will export the PNGs in the main timeline using the current settings.

Export PNGs From Multiple FLAs JSFL script download:

Export PNGs From Multiple FLAs.jsfl - Google Drive

JSFL code for reference:

function exportPNGs()

{

    var uri = fl.browseForFolderURL("select", "Select the folder containing the FLA

...
Translate
Community Expert ,
Sep 14, 2018 Sep 14, 2018

Hi.

You can achieve this with JSFL.

https://help.adobe.com/archive/en_US/flash/cs5/flash_cs5_extending.pdf

Here is a script that will allow you to choose a folder where the FLAs are located and then it will export the PNGs in the main timeline using the current settings.

Export PNGs From Multiple FLAs JSFL script download:

Export PNGs From Multiple FLAs.jsfl - Google Drive

JSFL code for reference:

function exportPNGs()

{

    var uri = fl.browseForFolderURL("select", "Select the folder containing the FLAs.");

    var files = FLfile.listFolder(uri + "/*.fla", "Files.");

    try

    {

          for (var i = 0, total = files.length; i < total; i++)

          {

              fl.openDocument(uri + "/" + files);

              fl.getDocumentDOM().exportPNG(uri + "/" + i + "_" , true, false);

              fl.getDocumentDOM().close(false);

          }

    }

    catch(error)

    {

          fl.trace(files);

          fl.trace(error);

          fl.trace("___________");

    }

}

exportPNGs();

To run JSFL scripts, double-click them or drag and drop in the Animate CC IDE or go to Commands > Run Command.

I hope this helps.

Regards,

JC

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 Beginner ,
Jun 18, 2021 Jun 18, 2021
LATEST

merhabalar. 

2021 animate için video/media export edebilmek için buna benzer bir yapı var mı?

elimde yüzlerce fla dosyası var, hepsini video yapmam gerekiyor.

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