# gotoAndPlay problem

**URL:** <https://forum.kirupa.com/t/gotoandplay-problem/160297>\
**Category:** flash\
**Created:** [August 24, 2005, 10:03pm UTC](https://forum.kirupa.com/t/gotoandplay-problem/160297 "2005-08-24T22:03:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mabans](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@Mabans](https://forum.kirupa.com/u/Mabans)\
**Post date:** [August 24, 2005, 10:03pm UTC](https://forum.kirupa.com/t/gotoandplay-problem/160297/1 "2005-08-24T22:03:44Z")

</div>

I have a button within a movieClip I setup the button action script as this.

```auto
gotoAndPlay(_root.mainmenu, 56);

```

But I get this error when ever I test it.

> **Error** Symbol=mainmenu-server, layer=Buttons, frame=54:Line 1: Scene name must be quoted string  
> gotoAndPlay(\_root.mainmenu, 56);

Total ActionScript Errors: 1 Reported Errors: 1

Any ideas?
