views:

377

answers:

2

I have several (20-30) Flash files that I need to migrate from AS2 to AS3. The biggest issue that I'm having is that it's extremely tedious to go through all the code and change the places where the code is on the buttons to an event handler model.

I'm not hopeful, but I was wondering if anyone knew of any tricks or tools to quickly change all the code on a button in AS2 to AS3 compliant code.

Thanks.

+1  A: 

Porting 20-30 Flash files between versions is no small task - good luck to you. As you suspect, you probably won't find any shortcuts for this. Just make sure to move all the code into external classes as you go so you never have this problem again. I guess you don't have the option of just loading in the AS2 swfs to a AS3 container?

Iain
Keep your MovieExplorer handy. It'll streamline a bit by helping you to find all the code that needs to be moved. Other than that, I think Iain's pretty much nailed it.
Wikiup
That is a crying shame. Thanks for the reply though. I really wish I could just load the AS2 files, but unfortunately, there's more to it than that.
Ryan Smith
A: 

Well i would suggest not sure that you should use any good decompiler and that decompiler can convert your as2 code to as3.. Try and good-luck.

Muhammad Irfan