Skip to main content
Participant
January 21, 2009
Question

Button enabled timer?

  • January 21, 2009
  • 1 reply
  • 230 views
Okay, So I have a flash file which works on a 1fps setting with countdown timers*. These are fixed timers which countdown and then repeat for about 15mins but what I need is a 2min timer I can start at any point in the time line and will count down and when finished will stop until the button is pushed again. Do any of you know how to do this?

*Changes every frame to one less

Thanks for any help

-Tim
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
January 21, 2009
use setTimeout(). it works the same as setInterval() except it only calls the function parameter once.