9
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/