Use Label for mark TextInput
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Canvas> <mx:Label x="0" y="50" text="Enter your name:"/> <mx:TextInput x="110" y="50"/> </mx:Canvas> </mx:Application>