Hello,

I noticed a problem with this function, getNextHighestDepth, it positions the clips to too high level and so removeMovieClip does not delete your clip. You have to put yourself a level to your clip.

bye

Jason Rayles a écrit :

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

Reply via email to