Be a Supporter!

RemoveMovieClip help?

  • 196 Views
  • 1 Reply
New Topic Respond to this Topic
MichaelJ
MichaelJ
  • Member since: Mar. 2, 2009
  • Offline.
Forum Stats
Member
Level 18
Voice Actor
RemoveMovieClip help? 2010-10-25 20:57:07 Reply

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?


BBS Signature
MintPaw
MintPaw
  • Member since: Jun. 11, 2006
  • Offline.
Forum Stats
Member
Level 10
Programmer
Response to RemoveMovieClip help? 2010-10-25 22:38:04 Reply

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();


If ya have something to say, PM me. I have a lot of time to spare.
Also never PM egg82.

BBS Signature