TextInput is one line text box
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:HBox> <mx:Label text="Enter some text:"/> <mx:TextInput id="myInput"/> </mx:HBox> </mx:Application>