Gahhh, more button problems!

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.