import mx.controls.Alert; public function clickHandler(clickEvent:Event):void{ Alert.show("Event Type:" + clickEvent.type); Alert.show("came from:" + clickEvent.currentTarget.id); }