# Directing movieclip with button outside the movieclip

**URL:** <https://forum.kirupa.com/t/directing-movieclip-with-button-outside-the-movieclip/234934>\
**Category:** Uncategorized\
**Created:** [August 7, 2007, 9:52am UTC](https://forum.kirupa.com/t/directing-movieclip-with-button-outside-the-movieclip/234934 "2007-08-07T09:52:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![goeiste](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/goeiste/32/2741_2.png) [@goeiste](https://forum.kirupa.com/u/goeiste)\
**Post date:** [August 7, 2007, 9:52am UTC](https://forum.kirupa.com/t/directing-movieclip-with-button-outside-the-movieclip/234934/1 "2007-08-07T09:52:12Z")

</div>

Hello I’ve got a very simple question where I cant really find an answer to. I’ve checked my old files to see if I did it before, but I couldn’t find anything. Here it goes:

On the mainstage I have a button and a movieclip. If I press this button I want the movieclip to gotoAndPlay a frame which I labeled “one”. The thing is however that I forgot the code for the button to do this.

```auto
 
on(Press){
    gotoAndPlay("one");
}

```

I know something has to go in front of gotoAndPlay but I forgot what. The movieclip’s name is symbol 1, and its labeled movie. I also posted the simple flash file.

[http://www.xs4all.nl/~karhen/Flash/](http://www.xs4all.nl/~karhen/Flash/)

This problem should not be very difficult to solve, and it would really help me in developing future websites. Who has the answer??
