This content has been marked as final. Show 3 replies
Does the MC your duplicating exist in the main page's timeline or Library?
Perhaps you need to either use attachMovieClip( ... ), where you can rename the instance name dynamically. Or control the depth and track it so that you can point to the level and use removeMovieClip(). (better by using the instance name though ie. "your_mc_instance.removeMovieClip(); ")
Also note that if your using any type2 Components in your work, these can cause "unexpected" results when calling getNextHighestDepth() and removeMovieclip() commands.
In which movie clip you are having this buttons ???
and where you are dublicating the moviclips ????
The icons for creating instances is in a seperate movie clip called PopUp, which can be opened by a Open Button. And this PopUp has a Close Button to make it disappear.
I am trying to drag these icons onto an another target MovieClip, this creates instance of the Icon movie clip on the targetMovieClip.
When the Close button is pressed, this removes all the duplicate movie clips created.
And. Clbeech, I havent yet changed the way i address my movieclip while closing the popup movieclip. Thanks for the comments anyway..
thank you guys.