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



