Making your own bindable variable and bind to TextInput
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> [Bindable] public var s:String=""; </mx:Script> <mx:TextInput id="myTextInput1" /> <mx:Button label="Update my variable" click="s=myTextInput1.text" /> <mx:TextInput id="myText" text="{s}" /> </mx:Application>