import mx.controls.Alert; private function myEventHandler(event:Event):void { Alert.show("An event occurred"); }