# Stopping a movie clip

**URL:** <https://forum.kirupa.com/t/stopping-a-movie-clip/13440>\
**Category:** Uncategorized\
**Created:** [February 13, 2003, 7:51am UTC](https://forum.kirupa.com/t/stopping-a-movie-clip/13440 "2003-02-13T07:51:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AEon\_Light](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@AEon\_Light](https://forum.kirupa.com/u/AEon_Light)\
**Post date:** [February 13, 2003, 7:51am UTC](https://forum.kirupa.com/t/stopping-a-movie-clip/13440/1 "2003-02-13T07:51:59Z")

</div>

Okay, a more specific question in relation to the “clockwork” thread I posted earlier…

In my animation I have a movie clip that is constantly spinning, but is it possible to make a button stop the movie clip wherever the movie is at - then when the button is released, have the movie continue playing from where it stopped?

I know it’s retarded, and it probably has a really simple explanation, but Flash eludes me when it becomes technical…

Your help would be MUCH appreciated…

---

<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:** [February 13, 2003, 8:39am UTC](https://forum.kirupa.com/t/stopping-a-movie-clip/13440/2 "2003-02-13T08:39:16Z")

</div>

If your movieclip is sitting on the main timeline then give it an instance name of something like “yourMC” then on your button, apply this action:

```php
on (press){
	_root.yourMC.stop();
}
on (release){
	_root.yourMC.play();
}

```

I’m guessing that would do what you want. 😏

---

<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:** [February 13, 2003, 8:47am UTC](https://forum.kirupa.com/t/stopping-a-movie-clip/13440/3 "2003-02-13T08:47:12Z")

</div>

that sounds like it to me.

---

<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:** [February 13, 2003, 10:30pm UTC](https://forum.kirupa.com/t/stopping-a-movie-clip/13440/4 "2003-02-13T22:30:55Z")

</div>

:chinaman:

hehe… excellent…it worked!

thank you so much!

:love:

---

<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:** [February 13, 2003, 11:40pm UTC](https://forum.kirupa.com/t/stopping-a-movie-clip/13440/5 "2003-02-13T23:40:57Z")

</div>

awesome, I’m glad it worked for you. =)
