step1: Animate a ball in stage for 30 frames
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
Read more
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



