As3: Using event listeners on a static class (paralyzed.se)

1 points by ancide ↗ HN
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.

0 comments

[ 2.2 ms ] story [ 7.2 ms ] thread

No comments yet.