# How to pause a movie

**URL:** <https://forum.kirupa.com/t/how-to-pause-a-movie/7277>\
**Category:** flash\
**Created:** [October 27, 2002, 9:44am UTC](https://forum.kirupa.com/t/how-to-pause-a-movie/7277 "2002-10-27T09:44:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolguy13](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@coolguy13](https://forum.kirupa.com/u/coolguy13)\
**Post date:** [October 27, 2002, 9:44am UTC](https://forum.kirupa.com/t/how-to-pause-a-movie/7277/1 "2002-10-27T09:44:06Z")

</div>

HI

I hv loaded a movie (say mc1) in a frame using loadMovie. now if i click a button another movie (say mc2) will be loaded and i want the running movie (mc1) to stop at that point. and when i exit from the second movie (mc2). then mc1 should start from the point it was stopped last time.

seeking for an urgent help…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 27, 2002, 12:32pm UTC](https://forum.kirupa.com/t/how-to-pause-a-movie/7277/2 "2002-10-27T12:32:58Z")

</div>

\_root. **myloadedmc**. **mctostop**.stop();  
change **myloadedmc** to wherever your mc1 is loaded  
for example \_root.movie.mc1 or sth…  
and change **mctostop** to the movieclip you want to stop in mc1.  
for example if the button was in mc1 and it would be like this:  
\_root. **moviemovie.camel**.stop();  
then the **mctostop** would be **moviemovie.camel**  
and **\_root.movie.mc1** + **moviemovie.camel** =  
**\_root.movie.mc1.moviemovie.camel** (+".stop();")  
I hope you got it.  
Just merge the 2 movieclip hierarchies and voila 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 28, 2002, 4:33am UTC](https://forum.kirupa.com/t/how-to-pause-a-movie/7277/3 "2002-10-28T04:33:03Z")

</div>

thanx syko but i m confused.  
I will explain it again.  
on the root timeline i hv an empty movie called “Mov\_empty”. in side this i m loading a movie on runtime and store the movie name in a variable called “mov\_name”. now on click of a button i want to stop the movie. what will be the path for that.  
will it be  
\_root.Mov\_empty.mov\_name  
or  
\_root.Mov\_empty[\_root.mov\_name]  
or  
smthng else  
i tried all these but none of them is working.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 28, 2002, 12:29pm UTC](https://forum.kirupa.com/t/how-to-pause-a-movie/7277/4 "2002-10-28T12:29:36Z")

</div>

hum… what do you mean by “…store the movie name in a variable called “mov\_name”…”  
but it should be something like this:  
\_root.Mov\_empty.\<moviecliptostop\>.stop();

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 28, 2002, 2:57pm UTC](https://forum.kirupa.com/t/how-to-pause-a-movie/7277/5 "2002-10-28T14:57:21Z")

</div>

i hv a navigation panel whenever i press next button the movie to be loaded is stored in a variable called “Mov\_name” and then i use this variable to load a movie.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 28, 2002, 3:52pm UTC](https://forum.kirupa.com/t/how-to-pause-a-movie/7277/6 "2002-10-28T15:52:21Z")

</div>

you mean the Mov\_name is like “home.swf” and "links.swf or sth?  
This thing has got nothing to do with swf file names ya know …

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 29, 2002, 1:36am UTC](https://forum.kirupa.com/t/how-to-pause-a-movie/7277/7 "2002-10-29T01:36:51Z")

</div>

yup. its like that… but the way u told me its not stopping the movie.
