4 Replies Latest reply on Jun 23, 2006 7:28 AM by kglad

    Movie clip actions Overwrite

    Sterockicy
      Is there a way to overwrite Actions on a certain frame inside a movie clip, but still have the actions on the other frames. if so HOW????? i have created a shooting game and i want it to on a certain frame stop the actionscriptfrom taking affect.

      The actionscript is as follows for this certain MC:

      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
      }

      Can this be stopped from working on this certain frame.

      Thanks

      Sterockicy