Event Object Properties
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Script> private function clickHandler(event:Event):void { myLabel.text="The " + event.type + " event was dispatched by " + event.target.id; } </mx:Script> <mx:Label id="myLabel"/> <mx:Button id="myButton" label="Click Me" click="clickHandler(event)"/> </mx:Application>