Listen for All Events from an object - Forums

/ Published in: ActionScript 3
Save to your folder(s)

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. }


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.