PDA

View Full Version : Batch Export .FLA to .SWF files


anarchotron
11-12-2006, 06:29 PM
My project consists of a top level root.FLA which imports runtime shared symbols from dozens of other .FLA files. When I need to re-export all the .FLA files as SWFs it is a major pain in the ass.

Does anyone here know of a tool to just take a list of .FLA files and export a .SWF for each?

Thanks!

cmbarsotti
11-13-2006, 03:56 AM
I wrote a jsfl that will publish all of the currently open flash files.

If you're not familuar with jsfl scripts, put both the jsfl and the xml in the following folder (Windows, - I don't know mac)

I:\Documents and Settings\ -- [ USER ] --\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Commands

Then open all of the fla's you want to publish and select flash_publishAllOpenFiles from the COMMANDS menu.

If you're on a Mac I believe you'll have to change line 2 to reflece a Mac path.

Let me know if this works for you. I never intended to distribute it.

anarchotron
11-13-2006, 09:07 PM
Yes, that was very helpful. It certainly put me down the path of learning JSFL enough to modify your work and create 3 more scripts for our specific needs.

Thanks!