I used the Complex Button tutorial to create a movieclip with rollover and rollout actionscript. works great, but! I cannot get the this.onRelease to work with the gotoAndPlay function. only the getURL function works. what am I doing wrong here?
the actionscript in the movieclip is:
[COLOR=“DarkGreen”]stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
gotoAndPlay(“Portfolio”, 1);
}[/COLOR]