I have some data-crunching code implemented in ActionScript, and I'd like to call it from JavaScript. The related question http://stackoverflow.com/questions/460242/interacting-with-actionscript-2-0-using-javascript mentions the blog post http://blog.circlecube.com/2008/02/01/actionscript-javascript-communication/ which tells me how to do this. All I need now is generating the SWF file from the .as
file completely automatically, with a comand-line tool on Linux. How is this possible?
Is there a speed difference between AS2 and AS3?