step2: Paste the below code and place it in first frame
function timer_fun(delayy:Number) {
this.stop();
var timer:Number = getTimer();
var inter:Number = setInterval(function () {
if (getTimer()-timer>delayy) {
trace("here");
clearInterval(inter);
play();
}
}, 10);
}
step3: Paste the below code in Frame where you want to pause for some sec's
timer_fun(1000);//call the function in frame where you want to pause
//1000--1sec
8 comments:
This rocks!! Thank you thank you.
play();
}
}, 10);
}
what does the 10 stand for? thanks!
great!!!
thank you!!!!
Thanks soooo much dude!
T H A N K S =D
Thank you for this tutorial, really looking for a function like this.
it dosen't work with me
please help
it dosent work with me
it comes just simple animation
plz reply me
thanks
Post a Comment