Data Model Flex


    creationComplete="myAC = new ArrayCollection(myData.book);">
    
        
            import mx.collections.ArrayCollection;
            
            [Bindable]
            private var myAC:ArrayCollection;
            
            private function formatData(item:Object):String
            {
                return item.title + "," + item.author;
            }
      
    

    
    
        
            
                A
                B
            

            
                C
                D