> 
> HG> So once you create a new interval with the same name you 
> will lose 
> HG> the path of the original?
> 
> An interval has no name, it has a numeric ID - what has a 
> name is the variable (or more variables if you want) where 
> you store this ID. And yes, if you doesn't care about storing 
> the ID (e.g. you overwrite it), you will lose information 
> which is required for clearing a specific interval.

Is a new intervalID always one greater than the most recent intervalID? That
is, will this always work to ensure you only ever have one interval running
at a time?

clearInterval(setInterval(this, "something", 1000) - 1)

Danny

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to