I have created two buttons. I want one to play the next frame and one to play the previous frame. I am using the code from the complex button rollover. I have tried several different things but cant seem to get it to work.
I tried to change this
this.onRelease = function(){
getURL(“solutions.php#fax_routing”,"_self");
to this
this.onRelease = function(){
_root.gotoAndPlay(nextFrame);
and this
this.onRelease = function(){
gotoAndPlay(nextFrame);
Any help would be great, thanks!!
stop(); // stop the movie clip from playing (stop button from growing, we want that when the mouse rolls over only
this.onEnterFrame = function(){
if(rewind == true){ //if rewind switch is set to true play backwards
prevFrame(); // play backwards
}
}
this.onRollOver = function(){
rewind = false; //set variable (or switch) that decides wether ot not to play backwards...
play(); // play this movie clip.. (grow the button(tween));
}
this.onRollOut = function(){
rewind = true; //set or rewind switch to true so it will play backwards...
}
this.onRelease = function(){
getURL("solutions.php#fax_routing","_self");
}