0 Replies Latest reply on Mar 14, 2007 11:45 AM by Juan_Valdez

    Slide Show back button

    Juan_Valdez
      Im creating a slide show of images that slide in from the left 5 frames and stops, I made a button
      // next button
      next_button.onRelease = function() {
      gotoAndPlay(_currentframe+1);
      };

      // previous button
      prev_button.onRelease = function() {
      gotoAndStop(_currentframe-1);
      };

      which works great but, instead of going current frame - 1 I want it to actuall play the frames backwards so that the animation slides to the right. any suggestions?