News for hackers. Stuff that matters.

As3: Using event listeners on a static class

http://paralyzed.se/2010/01/14/using-event-listeners-on-a-static-class/

This post will show you how to use the methods addEventListener and removeEventListener on a static class. This is useful when you want to have a class which all classes can listen to events for. For example you have a class which loads some type of assets and you want to be able to know in multiple classes when that class has finished loading.
( no comments | on HN )

There are no comments yet.