# Stop Timeline movie for 5-10 sec, then another movie will run

**URL:** <https://forum.kirupa.com/t/stop-timeline-movie-for-5-10-sec-then-another-movie-will-run/47917>\
**Category:** Uncategorized\
**Created:** [April 8, 2004, 8:23am UTC](https://forum.kirupa.com/t/stop-timeline-movie-for-5-10-sec-then-another-movie-will-run/47917 "2004-04-08T08:23:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonalisfk](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@sonalisfk](https://forum.kirupa.com/u/sonalisfk)\
**Post date:** [April 8, 2004, 8:23am UTC](https://forum.kirupa.com/t/stop-timeline-movie-for-5-10-sec-then-another-movie-will-run/47917/1 "2004-04-08T08:23:50Z")

</div>

[color=red] **On the one timeline I am multiple animations to be run, Ecah animations has to stop for 5-10 sec & then move to the another animation.** [/color]

For stoping 5-10 min, I hv written below code,

Here “timestart” is a Var, define by me.

onClipEvent (enterFrame) {  
if (currentTime+1\<=int(getTimer()/1000)) {  
timestart++;  
// new timer  
currentTime = int(getTimer()/1000);  
}  
if (timestart \>= “8”) {  
//trace(“I am timestart”)  
\_root.animation.Play();  
}  
}

**[color=red]Please help me in this.[/color]**  
**[color=red]I used Run to this code in Flash MX, But now In Flash MX 2004. it’s not running. Please help me.[/color]**  
**[color=red]Or[/color]**  
**[color=red]Give me some other Idea for the same fuctionality.[/color]**
