# Create a pause and play buttons

**URL:** https://forum.kirupa.com/t/create-a-pause-and-play-buttons/185403
**Category:** flash
**Created:** [April 13, 2006, 2:19am UTC](https://forum.kirupa.com/t/create-a-pause-and-play-buttons/185403 "2006-04-13T02:19:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sotong008](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@sotong008](https://forum.kirupa.com/u/sotong008)
#### Post date: [April 13, 2006, 2:19am UTC](https://forum.kirupa.com/t/create-a-pause-and-play-buttons/185403/1 "2006-04-13T02:19:36Z")

</div>

Hi i have got 2 files 1) shell.fla and 2) box.fla. The shell.fla will load the box.swf.

I need to create a pause and play button in shell file to control box.swf.  
My box.fla is built in such a way whereby it is moive clip within movie clip within movie clip therefore i cannot use the stop() script to control it.

Please help… i needed a button that stop and play all movie clips.  
Thanks 🙂

---

<div class="post-metadata">

### Author: ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)
#### Post date: [April 13, 2006, 7:34am UTC](https://forum.kirupa.com/t/create-a-pause-and-play-buttons/185403/2 "2006-04-13T07:34:06Z")

</div>

just name all your movie clip instances…

say this is your swf structure

shell.swf -----(Loads in box.swf into a named movie clip holder\_mc)—\>holder\_mc-----\>movie\_clip\_1-----\>child\_movie\_clip------\>child\_of\_child

then you can use

```auto

//play it
this.holder_mc.movie_clip_1.child_movie_clip.child_of_child.play();
//stop it
this.holder_mc.movie_clip_1.child_movie_clip.child_of_child.stop();

```

to control the movie clip “child\_of\_child”.
