# setInterval effected by framerate?

**URL:** <https://forum.kirupa.com/t/setinterval-effected-by-framerate/193901>\
**Category:** flash\
**Created:** [July 19, 2006, 4:25am UTC](https://forum.kirupa.com/t/setinterval-effected-by-framerate/193901 "2006-07-19T04:25:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![llama3](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/llama3/32/2579_2.png) [@llama3](https://forum.kirupa.com/u/llama3)\
**Post date:** [July 19, 2006, 4:25am UTC](https://forum.kirupa.com/t/setinterval-effected-by-framerate/193901/1 "2006-07-19T04:25:03Z")

</div>

I’m trying to do some setPixel() drawing at high speeds and I’m running into some weirdness with setInterval. I was under the impression that by setting a interval to run you were effectively running the function independent from the time line until the interval is cleared.

If i set the interval time to 10 or 1ms the function runs a different speeds depending on the framerate of the movie. Shouldn’t it just run as fast as possible regardless of the framerate? Any experience on this?

thanks!
