# HELP: animated buttons w/rollover & rollout to a specific scene

**URL:** https://forum.kirupa.com/t/help-animated-buttons-w-rollover-rollout-to-a-specific-scene/266610
**Category:** flash
**Created:** [July 22, 2008, 5:18pm UTC](https://forum.kirupa.com/t/help-animated-buttons-w-rollover-rollout-to-a-specific-scene/266610 "2008-07-22T17:18:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pixelsurgeons](https://avatars.discourse-cdn.com/v4/letter/p/8e7dd6/32.png) [@pixelsurgeons](https://forum.kirupa.com/u/pixelsurgeons)
#### Post date: [July 22, 2008, 5:18pm UTC](https://forum.kirupa.com/t/help-animated-buttons-w-rollover-rollout-to-a-specific-scene/266610/1 "2008-07-22T17:18:34Z")

</div>

[COLOR=Black][FONT=Tahoma][http://www.kirupa.com/developer/mx2004/button\_effect.htho](http://www.kirupa.com/developer/mx2004/button_effect.htho) [/FONT][/COLOR][FONT=Arial][SIZE=2] //stop(); this.onEnterFrame = function(){ [/SIZE][/FONT][FONT=Arial][SIZE=2] if(rewind == true){ [/SIZE][/FONT][FONT=Arial][SIZE=2] prevFrame(); [/SIZE][/FONT][FONT=Arial][SIZE=2] } [/SIZE][/FONT][FONT=Arial][SIZE=2] } this.onRollOver = function(){ [/SIZE][/FONT][FONT=Arial][SIZE=2] rewind = false; play(); [/SIZE][/FONT][FONT=Arial][SIZE=2] } this.onRollOut = function(){ [/SIZE][/FONT][FONT=Arial][SIZE=2] rewind = true; [/SIZE][/FONT][FONT=Arial][SIZE=2] } this.onRelease = function(){ [/SIZE][/FONT][FONT=Arial][SIZE=2] getURL(“[http://www.kirupa.com](http://www.kirupa.com)”,"\_blank"); [/SIZE][/FONT][FONT=Arial][SIZE=2] } [/SIZE][/FONT]please help me on how to create buttons with rollover and rollout that can transfer to a specific scene…ive tried changing the last part of the actionscript to gotoandplay(“scene2”); but it does not work…;(:diss:👁👁  
ive searched since last week but all i saw was the same as this …ending with going to a link not to a scene…  
thnx to all:thumb2::gas:
