Need help with the complex button script

Hi there,

Im new here, and was hoping somone could help me out.

I am trying to use the complex button tutorial in a movie (http://kirupa.com/developer/mx2004/button_effect.htm) but can’t seem to get it to “gotoAndPlay()” a scene instead of opening a browser. Currently it opens the kirupa website when clicked.

I have the main movie in scene 2 and want to go to scene 3 when clicked.

Also, if I was to use a “loadmovie” action, how would I do this with this script?

The script is:

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");
}

Any help would be much appretiated.

Thanks.