Image

Imageerase wrote in Imageflashdev

Can I once more be a pest?
I have only just started to use actionscript, and I am jumping to another scene using the following script:

//stops the playhead at Frame 1
stop();

//This script takes the user to Scene 2 when Level3_btn is released
Level3_btn.onRelease = function (){
gotoAndStop("Scene 2", 1);
};


which works except for receiving the following error:

"**Error** Scene=Scene 1, layer=Level 3 btn, frame=1:Line 1: Wrong number of parameters; gotoAndPlay requires between 1 and 2.
gotoAndPlay();

Total ActionScript Errors: 1 Reported Errors: 1"

what's up with that? does anyone know of any neat forums/tutorial sites that cover actionscript errors and how to troubleshoot them?