2 Replies Latest reply on Jun 21, 2006 1:35 AM by Sterockicy

    MC help

    Sterockicy
      i have a game that has a movie clip inside of a movie clip. i am trying to make it so that when the inside MC gets to a certain frame it will go to the next frame outside of that MC. i am not sure how to do this and would like to know how.

      Thanks

      Sterockicy
        • 1. Re: MC help
          OniLink
          _parent.nextFrame();
          • 2. Re: MC help
            Sterockicy Level 1
            That has worked well but there is one prob. the main MC has the following actionscript.

            onClipEvent (load) {
            speedx = 0.9;
            }
            onClipEvent (enterFrame) {
            this._x -= speedx;
            if (this._x<=100) {
            gotoAndStop("loose");
            }
            }
            on (release) {
            this.gotoAndPlay(2);
            this.enabled = false;
            speedx = 0
            }

            is there a way to overwrite this and to stop it on the frame i need it too