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>