PDA

View Full Version : how to delete a MC created with AS



Rolf
October 19th, 2003, 11:07 AM
Hi,

I have a movie containing a movieclip in which an empty movieclip is created with AS, showing an externally loaded pic.
At the click of a button i want the pic to unload again, but it does'nt work. I tried removeMovieClip and Delete.
How can i do this?

Voetsjoeba
October 19th, 2003, 11:13 AM
What code did you use exactly ?

DerickLemos
October 19th, 2003, 11:46 AM
your_mc.removeMovieClip();

senocular
October 19th, 2003, 11:51 AM
unloading would mean unloadMovie

removing the clips would be removeMovieClip... as DerickLemos posted