That's not a bug, but a feature (an annoying one, I agree) of the v2 component Framework.
Use the DepthManager when working with components (which is mentioned in most of the examples in the docs that use getNextHighestDepth()) mx.managers.DepthManager Components Language Reference > DepthManager class regards, Muzak ----- Original Message ----- From: "Allandt Bik-Elliott (Receptacle)" <[EMAIL PROTECTED]> To: <flashcoders@chattyfig.figleaf.com> Sent: Thursday, May 24, 2007 6:06 PM Subject: [Flashcoders] Re: [solved - bug] removeMovieClip scoped incorrectly? > bah just found the reason > > i used this.getNextHighestDepth() in the createClassObject() for the depth > which puts it beyond the reach of removeMovieClip > > seems like a bit of a bug > > the reasons can be found in the comments here > http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/ > html/wwhelp.htm?context=Flash_MX_2004&file=00001647.html > _______________________________________________ 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