setTimeOut to delay functions


/ Published in: ActionScript
Save to your folder(s)

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.