// sec = number of seconds
function paused(sec) {
stop();
var i = sec - 1;
var t = setInterval(function () {
if (i == 0) {
clearInterval(t);
play();
}
i--;
}, 1000);
}
Then in a frame add:
paused (sec); // change sec to the number of seconds for the pause
Thursday, August 14, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment