April 26, 2007 Batch Publish Flash Plug-in

Lately I have been working on a project that has a lot of flash files that use external ActionScript files for similar functions. It helps that they have many of the functions external because you can make mass changes with one file.

For those not in the know, here is how you include an external ActionScript file:

  1. #include "filepath/actionscript.as"

The downside of using external AS and changing it is that you have to publish every file that includes that script file. This gets to be a little tedious when doing it file by file, so I made a flash extension that will publish all files in a folder.

To use the extension, install the mxp, then restart flash. Under the commands menu, there will be a command called “BatchPublish”. Run it, then select the folder that contains your flash files that need to be published. This version does not publish files in sub-folders, but I am working on that for the next version, which will also include a GUI.

Update 5-16-07: I made version 2 finally. Now it has a GUI and some better options for output. You can publish all FLAs in a directory (and all subdirectories within) to the folder of choice. Force Swf only, and save and compact on close.

Batch Publish Preview

AddThis Social Bookmark Button Posted by Greg Ferrell at 04:39 PM. Filed under: Extensions • (6) CommentsPermalink