I found this excellent command line tool to compile Flash movies the other day.
It works like this:
-
flashcommand -p -s /path/to/fla
The -p switch means ‘publish’ and ‘-s’ specifies the path to the source .fla file. It works by opening Flash CS3 in the background and instructing it to compile the movie, consequently it will respect the publish settings you’ve defined in the .fla so the generated .swf file will end up in the right directory.
Combining this with Flash CS3’s ability to import an external AS3 file to use with each movie means bar the initial .fla file creation you’ll never have to use Adobe’s painfully bad authoring environment ever again.
Popularity: 26% [?]