Did you know that you can execute JSFL files from outside of Flash? There are two ways to do this. The first is to simply double click the jsfl file. Flash 2004 will open up and execute the JSFL contained within the file.
The second is to call the Flash 2004 executable from the command line passing the JSFL file as the first argument:
This will open Flash and execute the commands within the jsfl file.
Among other things, this will allow you to process Flash movies from the command line.
You cannot pass arguments to the JSFL file though, but one work around is to create another program that dynamically writes out the JSFL file, and then executes it.