Listen to for All Events from an object - ActionScript.org Forums


/ Published in: ActionScript 3



Copy this code and paste it in your HTML
  1. override public function dispatchEvent(event:Event):Boolean
  2. {
  3. trace("New event dispatched...");
  4. trace("Event: " + event.type);
  5. return super.dispatchEvent(event);
  6. }

URL: http://www.actionscript.org/forums/showthread.php3?t=187123

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.