5 Replies Latest reply on Jun 28, 2007 9:42 PM by kglad

    Reversing Frames problem

    WebmastaDj
      I finally got the actionscript to reverse the frames, but now I have another problem along the same lines. The code I used to reverse the frames is as follows and is only excuted when a button is clicked.

      addEventListener(Event.ENTER_FRAME, ReverseFrame);

      function ReverseFrame(event:Event):void {
      if (currentFrame == 119) {
      lblReverse.text = "0";
      gotoAndStop(114);
      } else {
      prevFrame();
      }
      }

      The problem with this is, after the code is excuted, I can not get the movie to stop playing backwards. I get it to play to a frame with a menu on it, yet the menu does not work. I tried to make it gotoAndPlay the frame before the menu loads, but it just keep reversing, not stopping until it gets back to the beginning. Any ideas on this?