# Two actions, one button?

**URL:** <https://forum.kirupa.com/t/two-actions-one-button/325221>\
**Category:** flash\
**Created:** [October 3, 2011, 8:19am UTC](https://forum.kirupa.com/t/two-actions-one-button/325221 "2011-10-03T08:19:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dementei](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Dementei](https://forum.kirupa.com/u/Dementei)\
**Post date:** [October 3, 2011, 8:19am UTC](https://forum.kirupa.com/t/two-actions-one-button/325221/1 "2011-10-03T08:19:42Z")

</div>

First post here, I have made a simple menu with a ‘slider’ using this [tutorial](http://www.kirupa.com/developer/mx2004/menu_with_slider.htm). What I am wondering is if it’s possible to have different actions for one button. Here is my first menu button:

```auto
on (rollOver) {

// slider - Movie Clip's Instance Name. button_1 - Button's Instance Name.
slider.yMove = button_1._y;

} 

```

What I need to figure out is how to get it to go to a URL on top of that, and that’s pretty much it.  
Thanks.
