mtasc

Flash AS2 Command Line compiler capablities

Although the MTASC command-line compiler can compile ActionScript class files into an SWF, I need specific insights into its capabilities, via the command-line switches. Configure which Flash Player version you're targeting, 6 / 7 / 8 -version n : specify SWF version : 6 to generate Player 6r89 compatible SWF or 8 to access Fl...

Which Flash SWF compiler uses compiler directives?

Any existing Flash SWF compilers that can understand directives like #IF #ENDIF, etc? Some SWF Compilers: (Hopefuls) AS3 Compiler - haXe AS2 Compiler - MTASC Adobe Flex Compiler - Mxmlc C# to SWF Compiler - Debreuil ...

Can any Flash compiler put scripts on multiple frames?

Can any Flash compiler put specific scripts on specific frames of the Flash movie SWF? Like you can do from within the Flash IDE, just place a script on the required frame using the Timeline panel, and the script gets compiled to that frame of the Flash movie SWF. Eg. script on frame 1 : trace("Reached frame 1"); Eg. script on frame...

how to distribute a Flash component for use with MTASC?

I have a Flash component that's just a library of compiled code with some exposed API calls. Normally we distribute this as a SWC or MXP, and it works just fine. Recently I had a client express interest in using my component, but they do all their development in MTASC only. MTASC doesn't support SWC files, so ss there a good way to send ...

can't add a new function to String class via prototype in as2

following code; String.prototype.myFunction = function() { trace("my function is called"); }; var myString:String = "myString"; myString.myFunction(); causes this error with mtasc compiler: type error String has no field myFunction it must be possible to add new functions to a class via prototype. is there any configuration i c...