1 Reply Latest reply on Jul 19, 2007 12:15 AM by Weiweiok

    Action scripting

    JRLobdell
      Hi All,

      I have a question. I would like to create a type of slide show with next and back buttons that a customer would click on to go to next picture or back to last picture. I tried to set the pictures in a frame by frame sequence. Added the next and back buttons.
      On the next button action-=go to next frame and on the back button action=go to previous frame. I placed the photos in a frame by frame set-up. When I test it it didn't work.
      Does anyone have any ideas on how to make it work?
      Best,
      Joy
        • 1. Re: Action scripting
          Weiweiok
          My English is not good .....sorry...
          This is my first reply
          are you such :?
          ----------------------------------
          this.stop();
          function gotoNext(Events:Event){
          nextFrame();
          }
          function gotoBack(Events:Event){
          prevFrame();
          }
          myNext_btn.addEventListener("click",gotoNext);
          myBack_btn.addEventListener("click",gotoBack);