Create a pause and play buttons

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 :slight_smile:

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


//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”.