If, like me, you have to work with a bunch of .fla files that have to be published regularly, then you have certainly realized that working within the Flash IDE is far from optimal.
First of all, opening an IDE to publish a file with all the clicking involved is far from the Unix philosophy that I have learned to appreciate for a long time (
./configure && make && make install…).
Also, apart from navigating through menus to publish a SWF, the keyboard shortcut that performs the same operation is a little bit contrived (
Multiply this by a large number of .fla files, and you get an insufferable mess.
This post will introduce a method to automate SWF publishing in a certain measure by leveraging the JSFL API and the Ruby programming language.