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