# Button multiple actions

**URL:** <https://forum.kirupa.com/t/button-multiple-actions/94621>\
**Category:** Uncategorized\
**Created:** [November 14, 2003, 6:39pm UTC](https://forum.kirupa.com/t/button-multiple-actions/94621 "2003-11-14T18:39:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsummerfield](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jsummerfield](https://forum.kirupa.com/u/jsummerfield)\
**Post date:** [November 14, 2003, 6:39pm UTC](https://forum.kirupa.com/t/button-multiple-actions/94621/1 "2003-11-14T18:39:02Z")

</div>

Sorry for being a dummy but I purchased a Flash template and am trying to modify a button. Currently there are two actions attached to it:

**on (rollOver) {  
gotoAndPlay(2);  
}  
on (rollOut) {  
gotoAndPlay(11);  
}**

These commands are working fine and call for an animation of the button on rollOver and back to normal on rollOut.

I am trying to add an onrelease/geturl command at the end of the above commands, however, when I do and then cursor over the button, the rollover and rollout states cycle madly until I move the cursor away from the button. How can I preserve the rollOver/rollOut and still have the onRelease work without this conflict?

Thanks very much in advance for any help…
