Mega Code Archive
Categories
/
Flex
/
Event
Nested inner function is called when the button is clicked
import mx.controls.Alert; private function initApp():void { b1.addEventListener("click",function(e:Event):void {Alert.show("The button was clicked");}); }