# Complex Button RollOver/RollOut Effects

**URL:** <https://forum.kirupa.com/t/complex-button-rollover-rollout-effects/245385>\
**Category:** flash\
**Created:** [November 29, 2007, 5:05am UTC](https://forum.kirupa.com/t/complex-button-rollover-rollout-effects/245385 "2007-11-29T05:05:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flamehead](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@flamehead](https://forum.kirupa.com/u/flamehead)\
**Post date:** [November 29, 2007, 5:05am UTC](https://forum.kirupa.com/t/complex-button-rollover-rollout-effects/245385/1 "2007-11-29T05:05:11Z")

</div>

“Hello”:pir: Is anybody familiar with these actions? Does anybody know how to make it go to a scene?

(Rather than to a URL)

\*[SIZE=1]//stop();

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

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

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

this.onRelease = function(){  
getURL("[/SIZE]\*[[SIZE=1]_http://www.kirupa.com"_,"\_blank[/SIZE]](http://www.kirupa.com)[SIZE=1]");[/SIZE]  
}
