# Force a SimpleButton rollover

**URL:** <https://forum.kirupa.com/t/force-a-simplebutton-rollover/265455>\
**Category:** flash\
**Created:** [July 9, 2008, 5:10am UTC](https://forum.kirupa.com/t/force-a-simplebutton-rollover/265455 "2008-07-09T05:10:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonypee](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@tonypee](https://forum.kirupa.com/u/tonypee)\
**Post date:** [July 9, 2008, 5:10am UTC](https://forum.kirupa.com/t/force-a-simplebutton-rollover/265455/1 "2008-07-09T05:10:52Z")

</div>

I have a menu system which, when you roll over a button you want it to highlight, butyou also want it to make another button roll over (one on the map)  
in as2 it was possible to do:

button1.onRollOver = function(){  
button2.gotoAndStop(2);  
}

and then revert it to frame 1 on the roll off. i COULD do this if my buttons were movieclips in as3. I want to use buttons tho. Any way to force an event to happen.  
I tried having the button dispatch a mouse event. I tried having the stage dispatch a mouse event at the x/y of the button. hmmm. It seems you can set useCapture on mouse events… bubbling is set to true- but i want the event to bubble UP the tree (capture phase not bubble) hmm. Ideas?
