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.
Asked
Active
Viewed 1.8k times
3 Answers
7
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://labs.flexperiments.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/

rsids
- 98
- 7

Samuel Neff
- 73,278
- 17
- 138
- 182
-
3Has anyone found a way not using JSFL/loading the IDE? It is ludicrous to load an IDE on a headless build machine. – Mark Mar 12 '12 at 22:35
-
The first url is broken. – mbarkhau Apr 15 '13 at 16:06
-6
There is no way to compile FLA files to SWF files via the command line.

Nathan Osman
- 71,149
- 71
- 256
- 361
-
1I 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. – guzart May 11 '10 at 01:47
-
1
-
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). – Samuel Neff May 12 '10 at 02:47
-
1And yet, there is still no way to actually compile via only the command line, to this day. JSFL is not sufficient. – Mark Mar 12 '12 at 22:35