Just keep an array of the intervals and refer to that. Then you only
declare the array, and add and subtract the intervals from the array.
Plus keeps it all nice and tidy.
Jason Merrill
Bank of America
Learning Organizational Effectiveness
-Original Message-
From: [EMAIL
Yep I think you'll need different variables.
On 11/30/06, Stephen Ford [EMAIL PROTECTED] wrote:
Hello,
Lets say you have 10 different setIntervals running within your class. Do you
also declare 10 different variables for these intervals ? like so:
private var nInt:Number;
private var
James O'Reilly has great Timer class to wrap/replace setInterval():
http://www.jamesor.com/2006/10/18/as2-timer-class/
-Scott
On 11/29/06, Stephen Ford [EMAIL PROTECTED] wrote:
Hello,
Lets say you have 10 different setIntervals running within your class. Do
you also declare 10 different
Kenny Bunch wrote an interval manager way back when.
http://www.kennybunch.com/index.php?p=16
To answer your question, though, setInterval returns a number, which is a
unique id reference for that interval. If you set another interval to the same
var, you orphan the previous interval
4 matches
Mail list logo