I have tried various ways of destroying instances. I once used this type of implementation
// Parent Class function buildChild() { var myClass : MyClass = new MyClass(); myClass.addEventListener( "onDestroyChild", this ); } function onDestroyChild( evt : Object ) { if ( HashCodeFactory.getKey( evt.target ) == HashCodeFactory.getKey( myClass ) ) delete myClass } // MyClass function destroy() { removeAllEventListeners(); dispatchEvent( { type : 'onDestroyChild', target : this } ); } So basically it doesn't carry a reference to its parent. But I'm not really using this implementation at the moment. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com