That error message comes out when you put variables and fuction on a movieclip without an onClipEvent. Just add
onClipEvent(load){
on (press){
gotoAndPlay(2);
}
} and everything else you...