|
||||||||||||||||||||||
Welcome To NewFreeTemplates.com Flash Tutorials Area - Create a timer with setIntervalsetInterval(function,timeout); Calls function every timeout (in miliseconds). Returns intervalId. clearInterval(intervalID); Cancels an interval created by a call to setInterval(). Example:
function outoftime()
{
Edit1 = "Out of time";
clearInterval(interval1); // stop repeating this function
}
// set 2000 miliseconds timer (2000 ms = 2 seconds)
interval1 = setInterval(outoftime,2000);
Download source project t1051.zip (1 kb)
Author: www.flashdesignerzone.com
|
|
|||||||||||||||||||||
|
||||||||||||||||||||||
| All Rights Reserved 2007-2008 by NewFreeTemplates.com | ||||||||||||||||||||||