Mega Code Archive

 
Categories / Flex / Components
 

Binding one TextInput to another TextInput

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#FFFFFF">     <mx:Binding source="bindFrom.text" destination="bindTo.text" />     <mx:Panel title="Simple Binding Example" width="300" height="150">       <mx:Form>           <mx:FormItem label="Bind From">           <mx:TextInput id="bindFrom" />         </mx:FormItem>         <mx:FormItem label="Bind To">           <mx:TextInput id="bindTo" />         </mx:FormItem>     </mx:Form>   </mx:Panel> </mx:Application>