Data Model Flex


    creationComplete="createAC()">
    
        
            import mx.collections.ArrayCollection;
            
            [Bindable]
            public var myAC_AS:ArrayCollection = new ArrayCollection(
                    [{label:"A", data:"AA"},
                     {label:"B", data:"BB"},
                     {label:"C", data:"CC"}]);
            
            public function createAC():void 
            {
                myAC_AS = new ArrayCollection(
                [{label:"A", data:"AA"},
                 {label:"B", data:"BB"},
                 {label:"C", data:"CC"}]);
            }