Topic: Game Programming /
Removing Interactive Tutorial Listeners
All events listeners should be removed even if they are weak referenced (http://gingerbinger.com/2010/07/actionscript-3-0-events-the-myth-of-useweakreference/). I don’t believe you can add event listeners to a vector, so you’ll have to create a seperate function to manually remove each listener. Create a listener that calls this function when the game is exited and don’t forget to delete the new listener in that function as well.
Just a heads up, AS3’s event listeners are extremely slow, try using a Signal (https://github.com/robertpenner/as3-signals) pattern instead.