# gotoandPlay Scene Problems!

**URL:** https://forum.kirupa.com/t/gotoandplay-scene-problems/12790
**Category:** flash
**Created:** [February 4, 2003, 7:50pm UTC](https://forum.kirupa.com/t/gotoandplay-scene-problems/12790 "2003-02-04T19:50:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Parker](https://avatars.discourse-cdn.com/v4/letter/p/c6cbf5/32.png) [@Parker](https://forum.kirupa.com/u/Parker)
#### Post date: [February 4, 2003, 7:50pm UTC](https://forum.kirupa.com/t/gotoandplay-scene-problems/12790/1 "2003-02-04T19:50:59Z")

</div>

This has been driving me nuts. :hangover: I have a button in a nested movieclip with the following action.

\_root.gotoAndPlay(“scene2”, 1);

However, it will not go to that scene. Nothing happens. However if I remove the desired scene name as follows:

\_root.gotoAndPlay(1);

The button works and jumps to the very first scene.

Anybody know how to target specific scenes within buttons?

Parker

---

<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: [February 4, 2003, 7:55pm UTC](https://forum.kirupa.com/t/gotoandplay-scene-problems/12790/2 "2003-02-04T19:55:59Z")

</div>

try targeting frame labels, like:

```auto

_root.gotoAndPlay("whatEver");

```

got it?

cheers :bounce:

---

<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: [February 4, 2003, 9:13pm UTC](https://forum.kirupa.com/t/gotoandplay-scene-problems/12790/3 "2003-02-04T21:13:12Z")

</div>

Ok then, note to self -\> use frame labels instead of scene names. Why targeting scenes has never worked is a mystery to me.

Thanks G :cool:

Parker

---

<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: [February 5, 2003, 5:30am UTC](https://forum.kirupa.com/t/gotoandplay-scene-problems/12790/4 "2003-02-05T05:30:33Z")

</div>

test

---

<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: [February 5, 2003, 5:35am UTC](https://forum.kirupa.com/t/gotoandplay-scene-problems/12790/5 "2003-02-05T05:35:01Z")

</div>

blah

---

<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: [February 5, 2003, 11:42am UTC](https://forum.kirupa.com/t/gotoandplay-scene-problems/12790/6 "2003-02-05T11:42:56Z")

</div>

😉

and…

freddy: we have a test section in this forum for… **test** purposes 😛
