Complex Buttons & Timeline Control

Can someone please send me in the right direction? I’m dealing with this line of action-sript (which I’m new to) for a complex rollover:

//stop();

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}

this.onRollOver = function(){
rewind = false;
play();
}

this.onRollOut = function(){
rewind = true;
}

this.onRelease = function(){
getURL(“http://www.kirupa.com”,"_blank");
}


In the last line, I want the function to go to a frame in the timeline, not to an outside URL. Shouldn’t I just be able to change it to this? (85 is the frame number)

this.onRelease = function(){
gotoAndPlay(85);
}

It’s not working? What am I doing wrong? Thanks!