Get $500+ of the best After Effects files, video templates and music for only $20!

Browsing Tag

event listeners

AS3 101: Quick Tip – Dispatching Events Without Extending EventDispatcher

AS3 101: Quick Tip – Dispatching Events Without Extending EventDispatcher

It’s rare, but it happens. Sometimes you absolutely need to extend a class, and that class does not already extend EventDispatcher. At the same time, you absolutely need your class to be an EventDispatcher. Because ActionScript 3 does not allow multiple inheritance, how do you reconcile this?


This entry is part 18 of 18 in the AS3 101 Session
AS3 101: Events – Basix

AS3 101: Events – Basix

For this chapter of AS3 101, we will be diving into the mechanics of the Flash event system. If you’ve been following along so far, you’ll have seen events in use, dating all the way back to the first episode of the series. The editor and I felt that it was time to write up something to be formally included in the curriculum, so if you’ve ever seen those lines of code about adding event listeners or dispatching events, and not quite caught on, then this is the tutorial for you.


This entry is part 17 of 18 in the AS3 101 Session