Button to next scene..sounds easy enough

Hi,

I thought it would be easy enough to create a button that sends you to the next scene?

My button is however embedded within a small moveclip but that shouldn’t make a difference surely?

My code is:

on(press){
gotoAndPlay(“scene 2”,1);
}

I know this has been replaced with the new function option but even that isn’t
working.

Have I got a typo or something? Im a bit confused.

When I run the movie the button simply just plays scene one from the beginning again?
I’ve tried this code:

on(press){
_root.gotoAndPlay(“scene 2”,1);
}

but this just froze the movie completely?

Can anyone help?

Thanks