Hey
Ok, first of all remember that when you gotoAndStop(); to a frame, its a
number. This means that there is no " " around it
Secondly, "This" should be "this" (it will turn blue).
Finally, if thats on a movieclip, it needs to be in a handler.
Ok now try this, place the following code on the first frame of your actions layer:
code:
mcInstance.onPress = function(){
this.gotoAndStop(2);
if (this._currentframe ==2){
this.gotoAndStop(3);
}
}
}
Another few reminders. Put ; after your code lines and remember that IF statments must be wrapped in {} brackets. Finally its gotoAndStop() not GotoAndStop();
If your using a premade code such as "if" , "this" , "gotoAndStop();" it will turn blue , thats a way of making sure you typed it correctly :)