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
Also view on http://sara-intop.blogspot.com/2007/07/delay-animation-in-flash-using-as.html
| 1 |
We hope the information helped you. If you have any questions
or comments, please don't hesitate to post them on the
Forums section Submit your Tutorial at Click Here