<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="initApp()"> <mx:HTTPService id="srv" url="assets/homesforsale.xml" resultFormat="object" result="onResult(event)"/> <mx:Form> <mx:FormItem label="Search"> <mx:TextInput id="search_ti"/> </mx:FormItem> <mx:FormItem> <mx:Button label="Search City" click="searchCity()"/> </mx:FormItem> </mx:Form> <mx:DataGrid id="grid" width="300" height="150" editable="true" dataProvider="{homesForSale}"> <mx:columns> <mx:DataGridColumn headerText="Total No." dataField="total"/> <mx:DataGridColumn headerText="City" dataField=