Travel form
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#eeeeee" layout="absolute"> <mx:Panel title="Select travel dates" layout="absolute" width="421" height="246" id="panel1" x="34" y="55" headerHeight="75" borderAlpha="1" > <mx:Label x="10" y="10" text="From (city or airport):"/> <mx:Label x="183" y="10" text="To (city or airport):"/> <mx:DateField x="61" y="77" id="returnDate"/> <mx:TextInput x="10" y="36" id="departInput"/> <mx:Label x="10" y="79" text="Depart:"/> <mx:TextInput x="183" y="36" id="returnInput"/> <mx:Label x="183" y="79" text="Return:" id="label1"/> <mx:DateField x="239" y="77" id="departDate"/> <mx:ControlBar> <mx:RadioButtonGroup id="typeGroup"/> <mx:RadioButton label="Round Trip" selected="true"/> <mx:RadioButton label="One Way"/> <mx:Spacer width="100%"/> <mx:Button label="Search"/> </mx:ControlBar> </mx:Panel> </mx:Application>