Making use of form-related containers
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Form> <mx:FormHeading label="Contact Info" /> <mx:FormItem label="First Name"> <mx:TextInput /> </mx:FormItem> <mx:FormItem label="Last Name"> <mx:TextInput /> </mx:FormItem> </mx:Form> </mx:Application>