: Data Binding « Data Model « Flex
Implementing Two-Way Bindings with
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Binding source="oneTextInput.text" destination="anotherTextInput.text" /> <mx:Binding source="anotherTextInput.text" destination="oneTextInput.text" /> <mx:TextInput id="oneTextInput" /> <mx:TextInput id="anotherTextInput" /> </mx:Application>