Posted By

jasonschell on 08/05/11


Tagged


Versions (?)

Trace all events from IEventDispatcher


 / Published in: ActionScript 3
 

This is an example using an item renderer. The concept is the same.

  1. override public function dispatchEvent(event:Event):Boolean
  2. {
  3. if (data)
  4. trace(data.name + " dispatched event " + event.type);
  5. return super.dispatchEvent(event);
  6. }

Report this snippet  

You need to login to post a comment.