mike chambers | about

FlashCommand Flash 2004 Command Line Compiler

Well, I am finally releasing the first public version of FlashCommand. FlashCommand is a command line compiler for Flash MX 2004 Pro.

I am sorry it took so long to release, but I have been super swamped. I also ran into a bug where the installer no longer worked (it errors when trying to automatically set the path environment variable). This bug delayed the release, and I ended up just removing the installer. Hopefully, I will have time soon to track the issue down, and release an updated version with the installer.

IMPORTANT : This is something that I did in my own time, and is not supported by Macromedia. Use at your own risk. If you run into any issues (and you will), please post them in the comments. This will make it easier for me to keep track of issues and suggestions.

Here is a screen shot of ActionScript code being compiled from EditPlus.

Notice that it catches the output (it will also catch compile errors if they occur). Btw, if anyone can figure out how to get this to work with SciteFlash, post the info in the comments.

Note, this is Windows only and requires the .NET framework. Sorry about that. I will try to make a portable version in the future.

Download FlashCommand

Download FlashCommand Source

Here is the usage information (from the readme):

FlashCommand.exe -e | -c | -p [-q] [-v] [-x] [-q] (-s <sourcefile>) ([-l] [<logfile>])
    ([-o] <exportpath>) ([-f] <flashpath>) ([-t] <timeout>)

-version : Prints out information about the program.
-help | Prints out usage information.

-e : Specifies export action.
-c : Specifies save and compact action.
-p : Specifies publish action.

-l : Specifies whether output should be logged to a file. Optional. Takes an optional
    param specifying the path to the log file. If not specifies, log files will be
    place in <installdirectory>\log
-q : Specifies quite mode. Optional. If specified, no output will be written to console
    (although it may still be logged).
-v : Specifies verbose mode.
-d : Specifies temp directory that will be used for temporary file.
-s : Specifies source files. Required.
-o : Specifies the output file if -e flag is also set. Optional. If not specifies,
    file will be output to same directory as source.
-x : Specifies whether Flash should be closed after it is done processing. Optional.
-k : Specifies whether the temp jsfl file should be deleted. Optional.

-f : Specifies Flash executable path. Optional.
-t : Specifies timeout value. Optional
-d : Specifies temp directory. Optional.

Thanks for Robin Debreuil, Owen van Dijk who provided valuable input and help.

Download FlashCommand

Tags:
twitter github flickr behance