Binding to a TextInput control : TextInput Data Binding « Components « Flex
- Flex
- Components
- TextInput Data Binding
Binding to a TextInput control

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
[Bindable]
public var myProp:String="This is a test.";
</mx:Script>
<mx:TextInput text="{myProp}" />
</mx:Application>
Related examples in the same category