# Button Problems

**URL:** https://forum.kirupa.com/t/button-problems/11336
**Category:** Uncategorized
**Created:** [January 15, 2003, 6:54pm UTC](https://forum.kirupa.com/t/button-problems/11336 "2003-01-15T18:54:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Afro\_Ninja](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@Afro\_Ninja](https://forum.kirupa.com/u/Afro_Ninja)
#### Post date: [January 15, 2003, 6:54pm UTC](https://forum.kirupa.com/t/button-problems/11336/1 "2003-01-15T18:54:11Z")

</div>

OK…

I have a button inside of a movie clip  
when pressed, the button needs to move the main timeline to a new scene. What is the appropriate code for this?

if I just use “gotoandStop (”—"), it will control the movie clip the button is in, not the main timeline. And if I use \_root.gotoandStop("—"), nothing happens.

ahhhh please help

---

<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: [January 15, 2003, 7:08pm UTC](https://forum.kirupa.com/t/button-problems/11336/2 "2003-01-15T19:08:15Z")

</div>

what is “—” ?

---

<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: [January 15, 2003, 7:22pm UTC](https://forum.kirupa.com/t/button-problems/11336/3 "2003-01-15T19:22:12Z")

</div>

gotoandStop (“Scene 5” , “test”);

it refers to the scene and frame label I want the main timeline to go to

---

<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: [January 15, 2003, 8:16pm UTC](https://forum.kirupa.com/t/button-problems/11336/4 "2003-01-15T20:16:15Z")

</div>

that was the most important part of the question and you didnt include it 😛

[http://www.kirupaforum.com/showthread.php?s=&threadid=10784](http://www.kirupaforum.com/showthread.php?s=&threadid=10784)

---

<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: [January 15, 2003, 8:52pm UTC](https://forum.kirupa.com/t/button-problems/11336/5 "2003-01-15T20:52:42Z")

</div>

hahaha sorry…

thanks!
