RE: [Flashcoders] removeChild madness

2008-09-09 Thread Sander Schuurman
Behalf Of Romuald Quantin Sent: Tuesday, 09 September 2008 14:48 To: 'Flash Coders List' Subject: RE: [Flashcoders] removeChild madness I'm not sure but I think you don't correctly remove the onEnterFrame Event. As you use the weakReference you miss the false in the remove method,

RE: [Flashcoders] removeChild madness

2008-09-09 Thread Romuald Quantin
I'm not sure but I think you don't correctly remove the onEnterFrame Event. As you use the weakReference you miss the false in the remove method, you should remove it that way: removeEventListener(Event.ENTER_FRAME, onEnterFrame, false); If this doesn't solve your problem, I usually set the