Components Flex


    initialize="initData()">
    
        
            import mx.collections.*;
            [Bindable]
            public var stateArray:ArrayCollection;
            public function initData():void {
                stateArray=new ArrayCollection(
                [{label:"AL", data:"aa"},
                 {label:"AK", data:"BB"},
                 {label:"AR", data:"CC"}]);
            }