Debugging Tool →← Flash Resources

AS2 to AS3 Preprocessor Converter

Last week we sat around muttering to ourselves about how nice it would be to create a simple utility that would port our AS2 code to AS3. Turns out we weren’t the only ones thinking about it. Patrick Mineault wowed us yet again with his converter.

Its still a little raw, but its great to see a tool like this readily available so early into the life of AS3.

There is no substitute for learning AS3 yourself, of course. I think that this utility is exceptionally useful for an AS2 developer looking to take the plunge into AS3. By copying and pasting code into his engine (found here), one can easily compare and get a general feel for the new structure in the code. Little things like addChildAt in place of createEmptyMovieClip are exceptionally useful reminders.

I’m going to download the source and play with it a bit. I’m compelled to create some sort of inline documentation that comments explainations into your code and explains what happened and why…

November 16th, 2006  by Stephen  /  3 Comments

Comments on “AS2 to AS3 Preprocessor Converter”

  1. nice. now if only someone could figure out a way to convert as3 code to as2 code.

    Juan Carlos on November 16th, 2006 at 6:05 pm
  2. Inline descriptions are not bad idea Jamie! Go for it! :)

    seven on November 22nd, 2006 at 5:09 am
  3. have you gotten any where with expanding on this?

    Michael Boski on October 18th, 2007 at 6:45 am