View Full Version : setInterval problem
jonnooe
June 26th, 2003, 01:17 AM
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
lostinbeta
June 26th, 2003, 01:29 AM
Remove this line from the randMove function var delayLength = math.floor(1000+math.random()*(2000-1000));
Should work fine then. I think it is causing a confliction.
hehe, I just realized this reminds me of one of my own experiments :) http://www.kirupa.com/lab/randompoints.htm
jonnooe
June 26th, 2003, 02:43 AM
thx for the help, works wonders now, but yea i thought i had seen what i was trying to do before.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.