Recently in source Category

Interval Manager

| 1 Comment

Discussion on FlashCoders keeps on going endlessly about probelms that arrise when using setInterval().

A while ago I wrote this intervalManager that helps with keeping track of all intervals that get set in a movie. Although this version works with no problem, there are still a couple of issues to be solved for it to work as close at setInterval(). Maybe there's someone out there with a little bit more time:P who can give it a look and solve the last issues that I point below.

OK, so you are tired of loosing your interval ID's, you always have to remember to kill any interval before setting it again and such.

Well, intervalManager will basically store all those precious id's under a list, to which you can always reference and clear anytime.

read more...