1 Reply Latest reply on Sep 1, 2008 10:27 PM by kglad

    Writing AS2 so it's easily updated to AS3

    Tim Flash
      I'm still writing AS2 because many of the projects I do have to work on older flash players. That said, how can I write AS2 so that when it comes to it, I can easily update it to AS3?

      Hope someone can help!

      Tim
        • 1. Re: Writing AS2 so it's easily updated to AS3
          kglad Adobe Community Professional & MVP
          there's no easy way to convert from as2 to as3. that said, you can type all your variables because that must be done in as3 and you can place almost all code in functions.

          for example:

          it will be less difficult (than usual) to convert the following;

          btn1.onRelease = btn1ReleaseF;

          function btn1ReleaseF(){
          // do whatever
          }