it should be
gotoAndStop(2);
on (press)
gotoAndStop(2);
**Error** Scene=Scene 1, layer=button, frame=1:Line 2: '{' expected
gotoAndStop(2);
**Error** Scene=Scene 1, layer=button, frame=1:Line 10: Syntax error.
Total ActionScript Errors: 2 Reported Errors: 2
it should read
on(press){
gotoAndStop(2);
}
that should work for you