# Gotoandplay() does not work

**URL:** <https://forum.kirupa.com/t/gotoandplay-does-not-work/39088>\
**Category:** Uncategorized\
**Created:** [January 3, 2004, 1:41am UTC](https://forum.kirupa.com/t/gotoandplay-does-not-work/39088 "2004-01-03T01:41:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjmaster\_j](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@jjmaster\_j](https://forum.kirupa.com/u/jjmaster_j)\
**Post date:** [January 3, 2004, 1:41am UTC](https://forum.kirupa.com/t/gotoandplay-does-not-work/39088/1 "2004-01-03T01:41:28Z")

</div>

Please help. I’m not an expert with AS, and my GotoAndPlay(scene, frame) does not work.  
My Scene 1 has a button (on frame 1), and the action on the button is to play the music in Scene 2:

on (release) {  
stopAllSounds();  
gotoAndPlay(“Scene 2”, 1);  
}.

on my Scene 2, I only have the music.  
Thanks
