Container Flex



    
        
        import mx.controls.Alert;
        import mx.events.IndexChangedEvent;
        private function handleChange(evt:IndexChangedEvent):void
        {
            Alert.show(evt.currentTarget.selectedIndex + " Label: " + evt.currentTarget.selectedChild.label);
        }