PDA

View Full Version : easy...removeclip question


shawn-harris
08-16-2005, 08:38 PM
this.createEmptyMovieClip("suit_mc", 45);
suit_mc.loadMovie("suitman-intro.swf");

that code is how i am attaching...


how do i remove that clip??

i tried this...

_root.suit_mc.removeMovieClip(45)

thanks!!!

majicassassin
08-16-2005, 09:07 PM
MovieClip.unloadMovie() ?

mmm..pi..3.14..
08-16-2005, 09:16 PM
2 ways...


this.suit_mc.removeMovieClip();


or...


removeMovieClip(this.suit_mc);

just fyi majicassassin, unloadMovie doesn't remove the movieclip from the stage, it just removes anything that was loaded into the movie clip via loadMovie, attachMovie, etc... Just thought I'd clarify that ;)

Eric

shawn-harris
08-17-2005, 01:25 AM
thanks a ton!!