setInterval problem

i remember reading something like this before, but when i searched i couldnt find it.

when i use setInterval at first it works, but slowly the the interval just starts to speed up. if you dont get what i mean heres the .fla

Remove this line from the randMove function [AS] var delayLength = math.floor(1000+math.random()*(2000-1000));[/AS]

Should work fine then. I think it is causing a confliction.

[edit]hehe, I just realized this reminds me of one of my own experiments :slight_smile: http://www.kirupa.com/lab/randompoints.htm [/edit]

thx for the help, works wonders now, but yea i thought i had seen what i was trying to do before.