countdown flash
posted on 07 Oct 2009 16:12 by worapot-
// Author: senocular.com
-
// http://www.kirupa.com/developer/actionscript/setinterval2.htm
-
displayTime = 10;
-
countDown = function () {
-
displayTime--;
-
if (displayTime == 0) {
-
clearInterval(timer);
-
}
-
};
-
timer = setInterval(countDown, 1000);
edit @ 7 Oct 2009 16:19:43 by HSU