I have a simple problem. I’m trying to call a function from a frame in an animation.
The function
function goBack(evt:Event):void {
gotoAndPlay(this.currentFrame - 100);
}
This code lives in frame 1 of my movie. On frame 143 I have this chunk of code.
goBack();
I get an error message saying…
[COLOR=Red]1136: Incorrect number of arguments. Expected 1.[/COLOR]
What is the reason for this? and how do I fix it?
Thanks.