Bind to a Property
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Panel> <mx:Label text="Enter name:" /> <mx:TextInput id="nameInput" maxChars="20" /> <mx:HRule width="100%" /> <mx:Label text="You've typed:" /> <mx:Text text="{nameInput.text}" /> </mx:Panel> </mx:Application>