Hi, I am having some strangeness occur with the setInterval function. I am using it to call a function which loads a dynamic image. At the moment, I have it set to call the function every 1000*numberSeconds (which is set at the moment to 10). So, theoretically, it should call that funciton every 10 seconds. Although it generally follows that pattern, I have noticed that this functions seems to be called early a sporatic number of times. Sometimes it gets called in 5 seconds, sometimes 7 seconds, sometimes 8 seconds, etc. It never seems to take more than 11 or 12 seconds though.
I was wondering if anyone knows why this function seems to be random sometimes? I am not doing anything special that should make it act crazy. Since I am just doing
[AS]setInterval(newMovie, 1000*numberSeconds);[/AS]
That should be pretty stable and nice, right? Well, that doesn’t seem tto be the case, at least not consistently. Has anyone else had similar problems? Does anyone know a cure or fix? Thanks