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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

removeMovieClip???? how i could do that?

Status
Not open for further replies.

precimonito

Programmer
Jan 20, 2001
18
EC
hi... i have a problem :(...
i duplicate movie clips in my movie... and this work right... but i need remove them later...
i read about how to use removeMovieClip... but doesn't work... and i don´t know why...
i have questions about it:
-- the movie clips created by duplicateMovieClip are base movie clipe children's?
-- what is the difference between the method MovieClip.removeMovieClip() [without arguments] and
removeMovieClip(target)?
if anyone can help me... let me know... please

thanks,
Monito
 
From the HELP files:

MovieClip.removeMovieClip

Syntax

anyMovieClip.removeMovieClip();
Arguments

None.

Description

Method; removes a movie clip instance created with the duplicateMovieclip action, or the duplicateMovieClip or attachMovie methods of the MovieClip object.

Player

Flash 5 or later.


-----------------------------------------------------------

removeMovieClip

Syntax

removeMovieClip(target);
Arguments

target The target path of a movie clip instance created with duplicateMovieClip, or the instance name of a movie clip created with the attachMovie or duplicateMovie methods of the MovieClip object.

Description

Action; deletes a movie clip instance that was created with the attachMovie or duplicateMovieClip methods of the MovieClip object, or with the duplicateMovieClip action.

Player

Flash 4 or later.


------------------------------------------------

But rather than deleting it, you could probably just set it's visibility property to 0, and turn it back on whenever you needed it back...


;-)



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top