Components Flex


               >
    
        
            import mx.events.FlexEvent;
            
            import spark.events.IndexChangeEvent;
            [Bindable]
            protected var seasonLabel:String;
            protected function buttonClickHandler(event:MouseEvent):void {
                myDropDown.openDropDown();
            }
            protected function seasonChangeHandler(event:IndexChangeEvent):void {
                seasonLabel = seasonsData.getItemAt(event.newIndex).label as String;
            }
            
            protected function keyPressHandler(event:KeyboardEvent):void{
  //              if(event.keyCode == 83 && event.altKey){
                    myDropDown.setFocus();
                    myDropDown.openDropDown();
    //            }
            }