Data Model Flex



    
        
            import mx.collections.ArrayCollection;
            
            
            [Bindable]
            public var myCollection:ArrayCollection = new ArrayCollection(["A", "B", "C"]);
            
            public function addCountryToCollection(country:String):void
            {
                myCollection.addItem(country);
            }