# Help on setInterval function

**URL:** <https://forum.kirupa.com/t/help-on-setinterval-function/281427>\
**Category:** Uncategorized\
**Created:** [February 9, 2009, 9:23am UTC](https://forum.kirupa.com/t/help-on-setinterval-function/281427 "2009-02-09T09:23:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xxxheeroxxx](https://avatars.discourse-cdn.com/v4/letter/x/a6a055/32.png) [@xxxheeroxxx](https://forum.kirupa.com/u/xxxheeroxxx)\
**Post date:** [February 9, 2009, 9:23am UTC](https://forum.kirupa.com/t/help-on-setinterval-function/281427/1 "2009-02-09T09:23:39Z")

</div>

I have problem with the setInterval function. I have a game application that sets a time limit of 3 minutes. From 3 minutes counting down by 1 second up to zero. The problem is, the counting of the timer is by 2 seconds and sometimes by 4 seconds. I tested the movie in my local computer and looks fine but when I upload it to a server and it is embeded in a website. And by the time the user clicks the link to play the game application and starts playing the problem about the timer occurs.:m2:

I’m in my third week of debugging and try to search in the internet of a possible answer or topic that is related to this problem.:hair:

Hope anybody could help me on this problem.

Thanks in advance.
