views:

456

answers:

2

How to compile Flash .fla files into .swf via command line on a Windows based operating system. Command line tools that need to be installed are ok. Can anyone suggest me what to do? (in a straight forward way). :-) Thanks.

A: 

There is no way to compile FLA files to SWF files via the command line.

George Edison
I don't think this is entirely true, since FlashDevelop manages to send a compile instruction to the Flash IDE, you need to have the File open in the Flash IDE, and it might be a little more complex than 'compile *file*' but, it can certainly be done.
UberNeet
That is probably not an optimal solution.
George Edison
@George Edison, what UberNeet was basically saying is that FlashDevelop can tell Flash IDE to compile, so it's presumptuous of you to say compiling from the command line is not possible (especially since it is possible via jsfl).
Sam
+2  A: 

You can use JSFL to script the Flash IDE and tell it to compile an FLA to a SWF. Here are a few examples.

http://blog.idsklijnsma.nl/compiling-flash-files-from-flex/

http://www.gskinner.com/blog/archives/2004/08/jsfl_fla_batch.html

And here's a utility app to simplify:

http://www.mikechambers.com/blog/2003/11/01/flashcommand-flash-2004-command-line-compiler/

Sam