Posted By

Tagged

Who likes this?

setTimeOut to delay functions

If you do not want to convert it to seconds and prefer to use milliseconds then you can use the following:
stop();
function wait() {
play(); // Just continue playing
// gotoandplay(50); // Play a specific frame or frame label
// someFunction(); // Call a function
// etc...
}
setTimeout(wait, 4500); // milliseconds