# Rollover Rollout button problem! Help please!

**URL:** <https://forum.kirupa.com/t/rollover-rollout-button-problem-help-please/253172>\
**Category:** Uncategorized\
**Created:** [February 27, 2008, 9:20pm UTC](https://forum.kirupa.com/t/rollover-rollout-button-problem-help-please/253172 "2008-02-27T21:20:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![javburg](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@javburg](https://forum.kirupa.com/u/javburg)\
**Post date:** [February 27, 2008, 9:20pm UTC](https://forum.kirupa.com/t/rollover-rollout-button-problem-help-please/253172/1 "2008-02-27T21:20:57Z")

</div>

Hi,

I used a tutorial to create a rollout button, but now I dont know how to let it go to another frame. This is the last piece of the script that takes it to a url, but I dont know what to change for it to go to the next frame.

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

Here is the top part of the script:

stop();

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

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

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

Thanks, hope this makes sense!
