# RollOver buttons problem

**URL:** https://forum.kirupa.com/t/rollover-buttons-problem/178950
**Category:** flash
**Created:** [February 15, 2006, 5:16pm UTC](https://forum.kirupa.com/t/rollover-buttons-problem/178950 "2006-02-15T17:16:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![o111](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/o111/32/2123_2.png) [@o111](https://forum.kirupa.com/u/o111)
#### Post date: [February 15, 2006, 5:16pm UTC](https://forum.kirupa.com/t/rollover-buttons-problem/178950/1 "2006-02-15T17:16:32Z")

</div>

Hi 🙂

I’ve made theese RollOver buttos, and they work very well. I followed a video tutorial on [gotoandlern.com](http://gotoandlern.com). “Creating Animated Buttons”.  
But now im going add some actions to the buttons, so when you click on them, it takes you to another frame on the timeline.  
I cant figure out whats wrong. On the button ive added this action:

```auto

    on (release) {

    gotoAndPlay(2);

    }

```

And when I click on the button, nothing happens. I’ve added “stop();” to frame 2 , so thats not the problem. Whats wrong? Where do I put the code?

Thanks!🙂
