5 Replies Latest reply on Oct 10, 2007 6:57 PM by schefz

    timing how long a frame has been active

      I am trying to time how long a frame as been the active frame. Once the frame is displayed, if the user doesnt press a button to move to another frame after 6 seconds, the movie should jump back to the previous frame it was at. I think the setInterval function would be correct to use here to time the 6 seconds, but im not sure how to clear the interval after. Here is my logic, (i know this isnt correctly coded..)

      If a button was pressed before the 6 seconds has elapsed, then it would not jump to frame5, i think.. but im not really sure if this will work for what i am tryin to do, and if there is a simpler way. thanks for any advice