/ Published in: ActionScript 3
This can be handy for a quick event dispatching without having to create a custom event class. This one in particular is "bubbling up" (true), and not cancelable (false).
Expand |
Embed | Plain Text
this.dispatchEvent (new Event("somethingHappened", true, false)); this.addEventListener ("somethingHappened", yourFunction);
You need to login to post a comment.
