# Stopping all movieclips

**URL:** https://forum.kirupa.com/t/stopping-all-movieclips/263883
**Category:** Uncategorized
**Created:** [June 20, 2008, 1:35am UTC](https://forum.kirupa.com/t/stopping-all-movieclips/263883 "2008-06-20T01:35:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![begreen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/begreen/32/3951_2.png) [@begreen](https://forum.kirupa.com/u/begreen)
#### Post date: [June 20, 2008, 1:35am UTC](https://forum.kirupa.com/t/stopping-all-movieclips/263883/1 "2008-06-20T01:35:00Z")

</div>

I have a button that stops my main time line I would a also like to stop the animations inside the movieclips as well.

I know how to target individual MCs and make them stop but is there a way to stop everything globally?

here is what I have now…

```auto
stop_btn.addEventListener(MouseEvent.CLICK, goBack);

function goBack(evt:Object):void {
    stop();
}

```

I would just like to stop all MC on the stage as well as the main timeline.

---

<div class="post-metadata">

### Author: ![congyaan](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@congyaan](https://forum.kirupa.com/u/congyaan)
#### Post date: [June 20, 2008, 2:24am UTC](https://forum.kirupa.com/t/stopping-all-movieclips/263883/2 "2008-06-20T02:24:39Z")

</div>

you’d better make an Array to hold all the mc as refrence,this can help you control all the mcs easy and clearly for other to read your code.
