Just wondering if anyone else had this problem.  I decided to migrate by
asteroids code to AS3, and found most of the commands I used were either
completely removed or redefined.  It looks like I'm going to have to
rewrite the entire program rather thans simply change a few things.
Really, really dissheartening.

I like to believe that's frustrating but necessary. AS1/AS2 had come a long way, and it was time for a slight syntax overhaul on the original API. For example, what's up with having objects created by special commands instead of constructors (for example, createEmptyMovieClip), methods that didn't even follow a naming convention (for example, createEmptyMovieClip vs attachMovie), no clear naming convention either on properties (_stuff versus stuff) and little 'gotchas' on the case of a few properties (_currentframe, maxscroll)?

Hence why having .addChild, .removeChild, and renaming many other things like that make a lot of sense. There's the initial bump, but after that I'm confident the language will look better as a whole instead of just being a patch on the previous version.

Also, you probably already have this, but in case you don't, this might help:

http://livedocs.macromedia.com/flex/2/langref/migration.html


Zeh
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to