ActionScript 3.0

Flash Player最早几乎只用于动画播放,对脚本执行的支持是逐渐增强的,发展到AS2时,已经和ECMA262相当一致了。不过AS2是在原来的执行机制上发展起来的,本质上还是AS1。
Flash Player 8和Flash 8一起发布,主要是Design方面有加强。而Flash Player 8.5则是针对programming,将和Flex 2.0一起发布。其中包含一个全新的ActionScript虚拟机AVM2用于执行AS3,这个完全重写的引擎从底层进行了优化,因此性能提高非常值得期待。另外完全支持运行时的错误报告,debug大大加强。
AS3符合更新的ECMA标准,事实上mm已经是ECMA的成员了。在AS3中的新特性:
支持Regex
支持E4X
更强的类型检查
二进制Socket
——————————————————–
2005-10-23
The AS3 is amazing, much more than my expectation. 8ball targets design, then Blaze is sure to improve development. One of my classmate says that Marcromedia has adopted some of the Adobe technologies for use in Flash 8 (filters, blend-modes, etc.). AS3 runs on top of a new highly-optimized virtual machine, AVM2, with code execution up to 10X faster.
The AVM in FlashPlayer 8.5 is completely rewritten to fully support a newer and better programming model of the Flash Platform. An introductive page at http://labs.macromedia.com/wiki/index.php/ActionScript_3:overview gives a nice and clear overview of the new features of AS3 so I repeat nothing here. But there are a few things that I really want to mention.
AS3 is compliant with the ECMAScript language specification and it heavily influence the ECMAScript 4 proposal. The new DOM3 event model and the Display List API change the way we used to program a Flash app. The new programming model is more consistent(remember the AS event handling messes?) Some new data types are introduced, the int and uint take advantage of the fast integer math capabilities of the CPU. AS3 is more OOP. We can say goodbye to queer functions like createEmptyMovieClip and createTextField. A new OOP approach with the keyword new is available, which is much easier to understand. And MovieClip is not the only thing we have in a flash movie, now we have Sprite, a light-weight graphic class. The new Shape class represents raw vector shapes. And we’ll be free from dealing with depth numbers because FlashPlayer now takes management of z-orders. The runtime type checking is a great step forward to a type-safe language. Actually the type information can help the execution engine improve performance. Binary level socket support suddenly turns flash into a really powerful internet app platform. Can you imagine what will the internet look like if Flash movies can access smtp, pop mail servers, and any other servers?
So exciting a thing the AS3 is!
So late it is.
22:22
I will now rush back and deal with my homework.
At last, I want to say thank you to Tomato, who introduced me to the Flash Platform google group established by pawaca. I see Danger there, too. It’ll be a place where I visit frequently:)
————————————————————————-

ActionScript 3.0 collection 40 sites from Franto.com

ActionScript 3.0 documentation >>10 sites

ActionScript 3.0 Misc examples >> 5 sites

ActionScript 3.0 – 3D >> 2 sites

ActionScript 3.0 Sound >> 5 sites

ActionScript 3.0 Text >> 1 site

ActionScript 3.0 Webcam >> 1 site

ActionScript 3.0 Tutorials >> 13 sites

ActionScript 3.0 Performance >> 2 sites

Other ActionScript 3.0 Collections >> 1 site

Advertisements
This entry was posted in Flash and ActionScript. Bookmark the permalink.

4 Responses to ActionScript 3.0

  1. Unknown says:

    wow gold!All wow gold US Server 24.99$/1000G on sell! Cheap wow gold,wow gold,wow gold,Buy Cheapest/Safe/Fast WoW US EU wow gold Power leveling wow gold from the time you wWorld of Warcraft gold ordered!

    wow power leveling wow power leveling power leveling wow power leveling wow powerleveling wow power levelingcheap wow power leveling wow power leveling buy wow power leveling wow power leveling buy power leveling wow power leveling cheap power leveling wow power leveling wow power leveling wow power leveling wow powerleveling wow power leveling power leveling wow power leveling wow powerleveling wow power leveling buy rolex cheap rolex wow gold wow gold wow gold wow gold -29650076548364

  2. Unknown says:

    wow gold!All wow gold US Server 24.99$/1000G on sell! Cheap wow gold,wow gold,wow gold,Buy Cheapest/Safe/Fast WoW US EU wow gold Power leveling wow gold from the time you wWorld of Warcraft gold ordered!

    wow power leveling wow power leveling power leveling wow power leveling wow powerleveling wow power levelingcheap wow power leveling wow power leveling buy wow power leveling wow power leveling buy power leveling wow power leveling cheap power leveling wow power leveling wow power leveling wow power leveling wow powerleveling wow power leveling power leveling wow power leveling wow powerleveling wow power leveling buy rolex cheap rolex wow gold wow gold wow gold wow gold -34656373488811

  3. Unknown says:

    wow gold!All wow gold US Server 24.99$/1000G on sell! Cheap wow gold,wow gold,wow gold,Buy Cheapest/Safe/Fast WoW US EU wow gold Power leveling wow gold from the time you wWorld of Warcraft gold ordered!

    wow power leveling wow power leveling power leveling wow power leveling wow powerleveling wow power levelingcheap wow power leveling wow power leveling buy wow power leveling wow power leveling buy power leveling wow power leveling cheap power leveling wow power leveling wow power leveling wow power leveling wow powerleveling wow power leveling power leveling wow power leveling wow powerleveling wow power leveling buy rolex cheap rolex wow gold wow gold wow gold wow gold -209947961215644

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s