RemoveMovieClip help?
- MichaelJ
-
MichaelJ
- Member since: Mar. 2, 2009
- Offline.
-
- Forum Stats
- Member
- Level 18
- Voice Actor
There is a movie clip on the stage with the instance name "popup", and when a different movie clip on the stage gets to a certain frame, I want the "popup" movie clip to disappear. I tried using removeMovieClip but I couldn't get it to work. I tried _root, I tried _parent... nothing works. How do I make the "popup" movie clip dissapear from the stage?
- MintPaw
-
MintPaw
- Member since: Jun. 11, 2006
- Offline.
-
- Forum Stats
- Member
- Level 10
- Programmer
Well you can go ahead and make it _visible = false
You have to make sure it's on a positive depth.
Try this.
_root.popup.swapDepths(_root.getNextHigh estDepth());
_root.popup.removeMovieClip();


