Mega Code Archive

 
Categories / Flex / Data Model
 

Create a Bidirectional Binding

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">     <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">         <mx:Label text="From Input 2:" />         <mx:TextInput id="input1" text="{input2.text}" />         <mx:HRule />         <mx:Label text="From Input 1:" />         <mx:TextInput id="input2" text="{input1.text}" />          </mx:VBox> </mx:Application>