Trying to make a simple GoToAndPlay Button

So I just got Flash CS3 and was really digging it until I needed to make a simple, “GoToAndPlay”, button. I tried using AS2 as I was getting nothing but errors with AS3.

I’ve been looking all over the web as well as this site for just a piece of sample code. I figure if I know what CS3 wants to see I can write a compliant script.

All I want to do is the following.

on (release) {
gotoAndPlay(‘start’);
}

That’s all. I’ve made these same type of buttons hundreds of times, but obviously don’t know Actionscript 3 well enough yet. Can anyone shoot me a link or a strip of code? I really don’t know why this has turned out to be such a chore.

Thanks,


Here’s the code I’m using now

3sixty go.onRelease = function() {
_root.gotoAndPlay (“start”) }


Here’s the error I’m getting

1087: Syntax error: extra characters found after end of program.