Form field with Label
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal"> <mx:HBox width="100%" height="50%" backgroundColor="#E7DAA4"> <mx:Form> <mx:FormHeading label="Contact Form" /> <mx:FormItem label="First Name:"> <mx:TextInput /> </mx:FormItem> <mx:FormItem label="Last Name:"> <mx:TextInput /> </mx:FormItem> <mx:FormItem label="E-mail:"> <mx:TextInput /> <mx:Button label="Button" /> </mx:FormItem> </mx:Form> </mx:HBox> </mx:Application>