Tag Archives: garbage collection
Garbage Collection and Event Listeners
On a recent AIR project I have become aware and subsequently obsessed with memory. My concerns have centered around garbage collection and event listeners, specifically how you clean up event listeners to allow Garbage Collection (GC) to clean up objects. Most DisplayObjects implement the EventDispatcher class that allows it to broadcast events. Trolling around the [...]
Posted in AIR, Flash, Flex, Flex 3 Also tagged addEventListener, DisplayObject, EventDispatcher, useWeakReference 3 Comments


AIR:: Adding Application Menu Bar Items