2 Replies Latest reply: Jun 22, 2007 8:29 AM by Damon Edwards RSS

    MX2004 button problem

    Community Member
      We have a movie (slide show) of a series of photos blending from one to
      another. I use the following Action Script for a pause button:

      on (release) {

      //Stop video Behavior
      stop();
      ;

      }

      This works fine, but the problem is getting the show going again from
      the point where it stopped. I used the following behavior on a forward
      button:
      on (release) {

      //Movieclip GotoAndPlay Behavior
      this.gotoAndPlay("_currentframe+1");
      //End Behavior

      }

      Doesn't work

      Nor does this:
      nextFrame();

      Can anyone show me the error of my ways? We also want a Back button that
      I imagine would work in a similar way as the Forward button....only
      backwards :)

      I have the buttons in a layer named buttons.

      Thanks.

      Fred