Adobe Flex provides three ways to specify data binding: the curly braces ({}) syntax in MXML, the
Monday, May 25, 2009
About DataBinding
Data binding is the process of tying the data in one object to another object. It provides a convenient way to pass data between the different layers of the application. Data binding requires a source property, a destination property, and a triggering event that indicates when to copy the data from the source to the destination. An object dispatches the triggering event when the source property changes.
Adobe Flex provides three ways to specify data binding: the curly braces ({}) syntax in MXML, the tag in MXML, and the BindingUtils methods in ActionScript. The following example uses the curly braces ({}) syntax to show a Text control that gets its data from a TextInput control's text property:
Adobe Flex provides three ways to specify data binding: the curly braces ({}) syntax in MXML, the
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment