Revision: 274
Updated Code
at July 8, 2006 11:51 by marc0047
Updated Code
function time(func, delay) {
clearInterval(waiter);
waiter = setInterval(func, delay);
}
// Sequence usage:
// start();
//
// function start() {
// trace("This is start 1");
// time(finish, 2000);
// }
//
// function finish() {
// time();
// trace("This is the end. The setInterval is cleared.");
// }
// Simple go to next frame after time duration:
// time(goNextFrame, 1000);
// function goNextFrame() {
// time();
// _root.nextFrame();
// }
Revision: 273
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 8, 2006 11:38 by marc0047
Initial Code
function time(func, delay) {
clearInterval(waiter);
waiter = setInterval(func, delay);
}
Initial URL
Initial Description
Initial Title
Executing time without timelines
Initial Tags
actionscript
Initial Language
ActionScript