0 Replies Latest reply on Sep 8, 2007 11:26 AM by musicismything

    reverse button

    musicismything
      Hi all. I've got 2 buttons and a mc called bottles_mc on the main timeline. One button for forward, one button for reverse. Can not figure out actionscript to make reverse button go ONLY to the previous stop();. The mc is a bunch of bottles rotating in a circle. I want you to be able to cycle through forwards and reverse while stopping at each bottle automatically. I have the forward button working, but the reverse button is elusive. Im using Flash 8.

      Any help would be great. Thanks.

      forward button script --->

      on(release){
      bottles_mc.play(_currentframe);
      }

      reverse button script --->

      on(release){
      bottles_mc.onEnterFrame=function(){
      this.prevFrame();
      if(this._currentframe==1){
      delete this.onEnterFrame;
      }
      }
      }