# Intervals without setInterval()

**URL:** <https://forum.kirupa.com/t/intervals-without-setinterval/155105>\
**Category:** flash\
**Created:** [July 14, 2005, 7:56pm UTC](https://forum.kirupa.com/t/intervals-without-setinterval/155105 "2005-07-14T19:56:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EvangelosRoxxor](https://avatars.discourse-cdn.com/v4/letter/e/a88e57/32.png) [@EvangelosRoxxor](https://forum.kirupa.com/u/EvangelosRoxxor)\
**Post date:** [July 14, 2005, 7:56pm UTC](https://forum.kirupa.com/t/intervals-without-setinterval/155105/1 "2005-07-14T19:56:19Z")

</div>

Since Flash doesn’t like to wait for loadVariables to actually receive the information, I need to find a way to make flash look from time-to-time to see if the information has been received.

I would use setInterval, only it’s really buggy and there’s a high chance the interval will be called again by the user, which will completely mess everything up.

I also cannot use something like this:

onEnterFrame {  
count++;  
if (count \> 10){  
count = 0;  
…  
}  
}

because the movie is stopped.

Does anyone know another way to make some form of timer that will count to x seconds?
