Mega Code Archive
Categories
/
Flex
/
Event
Bind a call to the handler function to the control that triggers the event
import mx.controls.Alert; private function myEventHandler(event:Event):void { Alert.show("An event occurred."); }