The future is here

| 4 Comments | No TrackBacks

Welcome to the future of RIA development. The lab is now open!

Things have dramatically changed for this iteration. ActionScript 3 and Flex 2 are a big step up, and Macromedia has done a great job with them so far. Even though the bits available are only alpha, you can tell a lot of hard work has already gone into the product.

There's so much to see and do, I wanted to highlight just a few of the new features that I find particularly useful.

Method closures: Instead of...

component.addEventListener( "click", Delegate.create( this, handleClick ) );

... we can now write:

component.addEventListener( "click", handleClick );

... and handleClick will execute in the scope in which it's defined. This is a huge simplification.

New number types: We finally have int, and uint, (alas, no byte or char...), but it's good to have something other than just Number. There's also a ByteArray class too.. that's handy.

Binary Sockets: Now you can implement your own protocols. :-)

New DOM: There's an entirely new object model that allows much more flexibility with MovieClips. You can reparent on the fly, move things on an off the displaylist, completely restructure the displayed hierarchy.. and it's fast. The addChild method is a new best friend.

Clean API: If you want to create a new MovieClip, you simply say var mc:MovieClip = new MovieClip();, and then add it to the display list to get it to appear. No more attachMovie hackery! Plus, the new Sprite class is nice.

There's a ton of new information out now, and a lot of reading to do. Head over to the lab and check it out. This is a huge release both technically and politically as this marks the first time Macromedia have opened up their products this early in the cycle to the general public. Enjoy the early bits, and make the most of them! Using Flex has never been better...

No TrackBacks

TrackBack URL: http://www.darronschall.com/mt/mt-tb.cgi/71

4 Comments

Thanks for the info... just to let you know the link to the lab opens microsofts homepage!!! scary thought

Oops, one of these days I'll learn how to make a hyerlink correctly. :-)

By the way, here's some links on learning AS3:

http://livedocs.macromedia.com/labs/1/flex/langref/migration.html

http://labs.macromedia.com/wiki/index.php/ActionScript_3:Learning_Tips

I know no word strong enough to say how awesome Flex2/AS3 is!

Agreed, AS3 is awesome. Too bad once it's officially out, half my personal AS2 classes will be redundant because MM added so many features that I need.

Leave a comment



About this Entry

This page contains a single entry by darron published on October 17, 2005 6:53 AM.

Thank you Macromedia was the previous entry in this blog.

Announcing FlashVNC is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Archives

OpenID accepted here Learn more about OpenID
Powered by Movable Type 5.02