View Full Version : A semi retarded question...
Conlor
05-17-2008, 07:56 PM
I feel kind of stupid for asking this, but what is the command for deleting a movie clip that isn't made with duplicateMovieClip, but is placed on the stage manually?
give a name of "the_mc" to your movieClip and then add this on the main timeline:
this.createEmptyMovieClip("square_mc", the_mc.getDepth());
square_mc.swapDepths(10000)
square_mc.removeMovieClip();
you crate a mc at the same depth so the former mc gets removed then you remove the new one and that's it.
Conlor
05-17-2008, 11:41 PM
thanks for the help. After no one answered, I just gave the movie clip a second blank frame and used gotoAndStop when I wanted it gone, but that will be very usefull in the future (even if I don't exactly know what it does). Being a noob sucks.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.