At 4/3/09 12:21 AM, TheSongSalad wrote:
i was wondering, what are ways people must suggest for moving from as2 to as3? i want to learn as3 since i upgraded my flash to cs3. any help?
I'm not going to pretend I know what I'm talking about when it comes to programming, but I do know a few things about AS2/AS3....
AS3 takes AS2 to a new level in that it now supports object-oriented programming and utilizes traditionally-thought-of classes, which are contained in external code called "packages." This allows for cleaner code, and with the new namespace feature (e.g. "public," "private"), your code won't contradict itself quite as much as it would in AS2.
AS3 also allows for the possibility for AS2-oriented programmers to adopt it in that you do not need to employ all the new OOP features. You basically just code as you go along, with little-to-no structure, just as you would with AS2.
Also, there are a lot more built-in libraries, what with all the new features of CS3 (e.g. sprites, and sound-related capabilities).
AS3 goes into way more depth with display objects and the display list too. I've noticed that learning AS3 requires a lot more knowledge of how Flash actually works than you'd need with AS2.
Fuck I'm tired.