Data Binding with Components

September 30, 2009 at 4:19 am 1 comment

Definition:

It is used to tie data in one object to another. That is, it is used to pass data

between different layers of the application. There are three ways to use

DataBinding. They are,

1. {} syntax

2. <mx:Binding> tag

3. BindingUtils static methods

The requirements for this DataBinding are source property, destination

property & an event.

Source Code:

<?xml version=”1.0″ encoding=”utf-8″?>

<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml”

layout=”absolute”>

<mx:TextInput id=”myText”  x=”315″ y=”251″/>

<mx:Label text=”{myText.text}” x=”315″ y=”294″/>

</mx:Application>

With Regards

Hemakumar.S

Entry filed under: Flex. Tags: , .

Creating ToolTip Module Manager

1 Comment Add your own

  • 1. Bill Bartmann  |  October 9, 2009 at 3:47 pm

    Hey, I found your blog in a new directory of blogs. I dont know how your blog came up, must have been a typo, anyway cool blog, I bookmarked you. 🙂

    Reply

Leave a comment

Trackback this post  |  Subscribe to the comments via RSS Feed


Welcome to Ideating

I am an open-source developer.My blog share the ideas of open-source and latest technologies evolving in this incredible world.

Categories

Blog Stats

  • 2,601 hits

Flickr Photos

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 2 other subscribers