1 Reply Latest reply on Jan 28, 2009 5:13 PM by mike670

    Timing Between Change

    mike670
      Heres my current code im using to change frame after a certain time :-

      myFrameTimer=function(){
      gotoAndStop(4);
      clearInterval(myTimer);
      }
      //usage....intervalID...setIntervalMethod(functionName,time in milliseconds)
      myTimer=setInterval(myFrameTimer,10000)

      MY PROBLEM

      The user can change frame either by waiting it to change by time or by pressing a button using simple on (press){ } but when they use on press for sum reasion the timer still counts down and takes them to the relevant page even if the user is 3 pages threw the presentation so is there a bit of script im missing or a way to resolve it that like says if button pressed cancel timer something like that that isnt to complicated as im a NOVICE at this actionscript stuff