I've have a Flex interface that loads other swf's as modules. I ran into some trouble with 'unloading' the swf, as in they wouldnt unload because of the eventListeners. BUT I discovered gSkinners article on weakly referencing listeners: http://www.gskinner.com/blog/archives/2006/07/as3_weakly_refe.html which was fantastic and fixed my the unload problem for the eventListeners.
However some on my modules are using changeWatcher to listen for changes to variables in the core model: ie: ChangeWatcher.watch(model.map, "mapLayerSrc", mapSrcChangeWatcher ); These are causing the same problem, by hanging onto the binding after they are deleted they are not letting the swf be garbage collected. Is there a way to weakly reference the ChangeWatcher? Any other thoughts of how to get around this? Thanks in advance, Russell Munro