Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing clips

Status
Not open for further replies.

ice78991

Programmer
Nov 20, 2006
216
I have loaded a clip into my main movie as follows

createEmptyMovieClip("swf_Holder_mc",3);
introLoader.loadClip("slide.swf",swf_Holder_mc);

At some point I want to load a different or reload the same swf into this clip

I have tried the code below,but it is not removing and replacing the original clip although it does place a new clip below the original



swf_Holder_mc.stop();
swf_Holder_mc.removeMovieClip();
createEmptyMovieClip("swf_Holder_mc",3);
introLoader.loadClip("slide.swf",swf_Holder_mc);

 
The clip slide.swf was written in actionscript and was not created in the author environment. This may make a difference?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top