On March 20, 2006, the Flex engineering team announced the availability of Flex 2 beta 2. Since the beta 1 release, the Flex engineering team fixed hundreds of bugs, added platform support, and enhanced the existing product features based on your feedback. We would like to say thank you for all your comments, suggestions, and bug reports. The Flex 2 product line is better because of your involvement.
Adobe Flex 2 is the second generation of the award-winning Flex rich Internet application (RIA) environment. The Flex 2 product line contains several important pieces for building professional-grade rich Internet applications, including the following:
If you are new to Flex 2, I recommend that you read Flex 2: Enabling the Next Generation of Rich Internet Applications by David Wadhwani, Vice President of Engineering at Adobe. Also see the tutorials in Adobe Labs and videos about Flex 2.
The following sections highlight the changes from Flex 2 beta 1 to Flex 2 beta 2:
Flex 2 beta 2 includes changes to data binding to include supporting property-level and class-level[Bindable] on getter and setters and allow you to make them bindable without having to manually write event-dispatching logic.
In Flex 1.0 and Flex 1.5, an id-attributed MXML element initialized an inherited property if one existed with name=id, rather than creating a new one. Before beta 2, a collision between an inherited property name and an MXML id caused an error. Flex 2 beta 2 reintroduces the ability to initialize inherited properties.
Flex 2 beta 2 includes modifications to the events that Flex triggers during the component instantiation lifecycle below:
The syntax for using constraint-based layout has changed to use styles instead of the constraints property.
Flex 2 beta 2 contains many security-related changes in Flash Player. The most affected changes are loading (including appDomain, loaderInfo, and loading events), Stage, Sound, and Bitmaps.
For complete details, see Beta 1 to Beta 2 Changes on Adobe Labs.
Along with the Flex 2 beta 2 product updates, we have released several developer utilities on Adobe Labs:
The ActionScript 3.0 Libraries provide a set of functionality for common ActionScript 3.0 programming tasks like MD5 hashing, JSON serialization, advanced string and date parsing, and more. There are also libraries that simplify interactivity with several popular web applications such as Flickr, Mappr, Odeo, and YouTube, as well as RSS and Atom feeds.
FlexUnit is a unit-testing framework for Flex and ActionScript 3.0 applications. It mimics the functionality of JUnit, a Java unit-testing framework, and comes with a graphical test runner.
The Flex-Ajax Bridge (FABridge) allows you to complement and extend Ajax-style applications with rich content and Flex controls by making JavaScript to Flash communication easier. Once you've inserted the library, pretty much anything you can do using ActionScript, you can do in JavaScript.
Flex applications can leverage the easy data connectivity capabilities of ColdFusion. The ColdFusion/Flex Connectivity components include a new version of Flash Remoting that allows you to call CFC functions from a Flex application to provide simple access to all of the back-end services available from ColdFusion. It also adds a new ColdFusion Event Gateway type that you can use within a Flex application to specify a ColdFusion event gateway as a destination for messages. Similarly, your ColdFusion application can use an Event Gateway to send events to a Flex application.
We are very excited and proud of what we're doing with the Flex 2 product line and would like you to get involved by downloading and installing Flex 2 beta 2. You can find more information about beta 2 and download the installer from the Flex 2 beta 2 page on Adobe Labs.