Hi Jason, The solution is like others already mentioned. The problem is the getNextHighestDepth and removeMovieclip unable to remove mc's in too high or too low levels. How i solve this is to first swapDepths and after that remove. 1. attach at getnexthighestdepth 2. mc.swapDepths(99999); (i use this level always for only this purpose) 3. mc.removeMovieClip Shuold work like a charm. And no it's not you who iswrong, it's the code :) Greets, Ben
________________________________ From: [EMAIL PROTECTED] on behalf of Jason Rayles Sent: Wed 12/14/2005 10:27 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] can't remove a clip attached to root??? Is there a reason that a movie clip attached to _root cannot be removed using removeMovieClip? if I do _root.attachMovie("square", "s", _root.getNextHighestDepth()); then _root.s.removeMovieClip(); does not remove the clip. However if I do mc.attachMovie("square", "s", mc.getNextHighestDepth()); and mc.s.removeMovieClip(); works like a champ. Flash 8, as 2.0. I am thoroughly stumped. _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders