tag along with curly brace syntax to bind the Label control's text to two different TextInput controls : TextInput Data Binding « Components « Flex
Use one tag along with curly brace syntax to bind the Label control's text to two different TextInput controls : TextInput Data Binding « Components « Flex Flex Components TextInput Data Binding Use one tag along with curly brace syntax to bind the Label control's text to two different TextInput controls
<?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=" confusedLabel.text" />
<mx:TextInput id="oneTextInput" />
<mx:TextInput id="anotherTextInput" />
<mx:Label id="confusedLabel" text="{anotherTextInput.text}" />
</mx:Application>
Related examples in the same category