Of course you can do it this way... But then it's better to use the Timer class of flash. The official documentation says:
Instead of using the setInterval() method, consider creating a Timer object, with the specified interval, using 0 as the repeatCount parameter (which sets the timer to repeat indefinitely).
Source: http://livedocs.adobe.com/flash/9.0/...ml#setInterval




Reply With Quote