Trace all events from IEventDispatcher


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

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


Copy this code and paste it in your HTML
  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


Comments


You need to login to view comments.