Components Flex



    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx">
    
         
        import mx.controls.Alert; 
        protected function myBtn_clickHandler(event:MouseEvent):void { 
             Alert.show("Goodbye!"); 
        } 
      
    

            click="myBtn_clickHandler(event)" />