Archive for October, 2008


Sunday, October 26th, 2008

Danny Miller wrote a great little class called EventManager. If used properly it keeps track of event listeners and their relationship to objects, easing a major pain point in AS3. Working at an ad agency it is hard to expect freelancers who are killer at scripting animation to create cleanup code for all of their clips. I have tried a lot of strategies for getting loaded clips to load and remove properly but I feel like it has thus far required a lot of micromanagement. Being able to pass off this class as part of the shared shell package removes all of that. I can just request that all event listeners are added via the manager, then cleanup can stay in the shell freeing up phone calls and giant error logs in the debug player.