1 Reply Latest reply on Jun 18, 2009 9:12 AM by Rothrock

    Batch Changing SWF Publish Settings for Hundreds of FLAs?

    jezzthisisfull Level 1

      Hi, I've updated action script for a huge number of .flas to AS3 but forgot to change their Publish Settings to Flash Player 10 and AS3.  "MovieClip(this).stop" for example does not work in their swfs. 

       

      Is it possible to change these settings by batch processing all of the .flas at once?  (Through a Mac Automator droplet or text editing the .flas, etc...or ___?)

       

      Thanks

        • 1. Re: Batch Changing SWF Publish Settings for Hundreds of FLAs?
          Rothrock Level 5

          You might be able to do this using JSFL, but I don't know exactly how. I'm looking at Extending Flash MX 2004 (which pretty much still covers JSFL today) and see the following methods.

           

          fl.browseForFileURL();

          fl.openDocument();

          fl.saveDocument();

          document.publishProfiles()

          document.publish();

           

          I'm not finding a way to change the publish settings yet, but I'm sure they are in there somewhere.

          1 person found this helpful