At 6/9/09 02:27 AM, asgrunt wrote:
"if you want to ... do anything powerful, use AS3" - sounds strange, as if all the people using AS2 up to now had done only kid's stuff. What a nonsense. Most of the Flash developers don't need all the nice features of AS3, they don't even use the many features of AS2. Ask them: who really knows what a matrix is (no, not that thingy with the red and blue pills), who does use the BitmapData-class, who has coded pic effects with the convolutionFilter, etc. It would be better to learn to master one version instead of constantly hopping to the next one without really to master it. If someone has a programming background or does coding most of the time than he/she should take AS3, for all other people AS2 ist sill powerful enough (and much easier to learn if needed to). As Phil Kerman said:
I'll stick to AS2 in the cases where the project is not super complex and when there's no specific benefit in AS3 that justifies the investment. In a larger project or one where I need some new feature of AS3/FP9, then sure I'll go for it.
AS2 relied on a lot of hacks and backyard bob fixes to get it to do what people wanted it to do.
AS3 you can build very robusts, reuseable code.
For example, if I need a platforming game, I just move in that folder, and bam, less than 100 lines i've got a basic platformer, physics engine and the skeleton of a level editor.
I've written a menu API...
I hate making menus, but with my "robust" AS3 code, I now can create a menu in a few commands.
Same with sounds, I have a SoundManager class which I link up with the main class, then add the sounds with an array, give it a graphic and I can now go SM.sound.play() anywhere in the code and that sound plays.
Sure are the start its more work, but once you get going its much... MUCH less work.