Event Flex



    
        import mx.controls.Alert; 
        import mx.events.ItemClickEvent;
        public function showMsg(anEvent:ItemClickEvent):void {
            Alert.show(anEvent.currentTarget.selectedValue); 
        }