# Gahhh, more button problems!

**URL:** https://forum.kirupa.com/t/gahhh-more-button-problems/73582
**Category:** flash
**Created:** [December 17, 2004, 9:31pm UTC](https://forum.kirupa.com/t/gahhh-more-button-problems/73582 "2004-12-17T21:31:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DevDreamer](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@DevDreamer](https://forum.kirupa.com/u/DevDreamer)
#### Post date: [December 17, 2004, 9:31pm UTC](https://forum.kirupa.com/t/gahhh-more-button-problems/73582/1 "2004-12-17T21:31:51Z")

</div>

Yo!  
I’m finally making a real flash movie and well, I can’t get the buttons to work! I’m trying to make it so you can choose Play, Credits, Scenes… But nothing will work lol, heres the code I’m using…

gotoAndPlay(‘scene 3’,‘1’);

But I always get this error message when testing…

**Error** Scene=Scene 1, layer=Play, frame=25:Line 1: Statement must appear within on handler  
gotoAndPlay(‘scene 3’,‘1’);  
Total ActionScript Errors: 1 Reported Errors: 1

If anyone could help that would be awesome! Thanks.
