Data Model Flex



    
    
        
            import mx.collections.ArrayCollection;
            import mx.rpc.events.ResultEvent;
            
            [Bindable]
            private var myData:ArrayCollection;
            private function dataHandler(event:ResultEvent):void
            {
                myData = event.result.Tables.Table.Rows;
            }