9

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.

murvinlai
  • 48,919
  • 52
  • 129
  • 177

3 Answers3

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
1

If you need to compile FLA file into SWF up to Flash CS4 (that may be flash10 I guess) this may come useful; fla2swf

Darkphase
  • 11
  • 1
-6

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

Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
  • 1
    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. – guzart May 11 '10 at 01:47
  • 1
    That is probably not an optimal solution. – Nathan Osman May 11 '10 at 03:34
  • 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
  • 1
    And 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