Join David Gassner for an in-depth discussion in this video Using two-way data bindings, part of Flash Builder 4 and Flex 4 New Features.
The Flex 4 Compiler adds a new feature that supports Two Way Bindings, a very…simple syntactical improvement that let you create two-way relationships…between Visual Objects and Variables.…TwoWayBindings were possible in Flex 3, but you had to declare each direction of…the binding individually.…In Flex 4, you use a little bit of syntax in either a shorthand binding…expression or in the fx:binding tag, to create the relationship.…I'll first show you how to create Two Way Binding using shorthand…binding expressions.…
I'm doing this demonstration in an application file called TwoWayBindings.mxml.…In the application's initial state, there are four input controls within a panel.…I am going to first create a relationship between Input 1 and input 2.…I'll start off in the Text Input control with an id of input 2.…Now I'll add a text property, using a binding expression referring to input1.text.…I'll save and run the application.…
I'll click in to Input 1 and type some text, and you'll see that the text…
- Understanding MXML namespaces
- Moving classes and components between packages
- Managing templates for new MXML and ActionScript files
- Exploring MXML language changes
- Working with the Spark component framework
- Adding visual controls with CSS, MXML graphics, and custom Spark skins
- Displaying images and dynamic data
Skill Level Beginner
1. Getting Started
2. Using the New Flash Builder Features
3. Using the New MXML Language Features
4. Using Spark Components
5. Managing View States and Navigation
6. Controlling Visual Presentation
7. Working with Dynamic Data
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.