Tag Archives: garbage collection

AIR:: Adding Application Menu Bar Items

Just a quick how-to post on adding application menu bar items to your Adobe AIR application when running. Certain operating systems can support application menu bars, so this example will not be true for all systems. You can check this using “NativeApplication.supportsMenu == true”, which basically means you are on Mac OSX dude. If you [...]
Posted in AIR, Flex 3 | Also tagged , , , , , | 4 Comments

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 , , , | 3 Comments