Components Flex



    
        
        import flash.events.Event;
        import mx.events.DropdownEvent;
        private function dropEvt(event:DropdownEvent):void {
            forChange.text+=event.type + "\n";
        }
        private function changeEvt(event:Event):void {
            forChange.text+=event.currentTarget.selectedItem.label + " " + event.currentTarget.selectedIndex + "\n";
        }