So ive created Roll in/out buttons, similar to the tutorial here, and im wondering how i can have it so that when they are pressed it will proceed to a certain frame. ive tried the gotoAndPlay() command but no success. my current script looks like this and im wondering how i can modify it so it will work:
So ive created Roll in/out buttons, similar to the tutorial here, and im wondering how i can have it so that when they are pressed it will proceed to a certain frame. ive tried the gotoAndPlay() command but no success. my current script looks like this and im wondering how i can modify it so it will work: <as>
//stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
getURL("home.html","_blank");
}
</as>