# A/S for showing a button's rollover state?

**URL:** <https://forum.kirupa.com/t/a-s-for-showing-a-buttons-rollover-state/182692>\
**Category:** flash\
**Created:** [March 20, 2006, 7:57pm UTC](https://forum.kirupa.com/t/a-s-for-showing-a-buttons-rollover-state/182692 "2006-03-20T19:57:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pseudodigm](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@pseudodigm](https://forum.kirupa.com/u/pseudodigm)\
**Post date:** [March 20, 2006, 7:57pm UTC](https://forum.kirupa.com/t/a-s-for-showing-a-buttons-rollover-state/182692/1 "2006-03-20T19:57:11Z")

</div>

Ok, I’m not sure how to convey this, but I’ll do my best.

I made a simple header for my company, you can see it at: [www.ensim.com](http://www.ensim.com)

You can see that there are simple roll overs for the header (this is the middle part with the photo on it and the buttons on the right); you rollOver one and the photo changes.

Never one to leave well-enough alone, the boss wants to add this wrench to the works:

He’s not sure that people will “get” that you can hover over the buttons and will never get to see the photo and message change. So he wants the photo/message to kind of rotate through on a loop, then have it so you can override the rotation by rollingOver the button. Ok, no problem.

BUT I would like the button’s rollOver effect to be seen with the cooresponding photo/message. This is what I can’t figure out, without trying something hacky.

Is there a way to throw some code in that says like "mybutton.gotoandstop button state “over”?

Is that as clear as mud?

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [March 20, 2006, 8:12pm UTC](https://forum.kirupa.com/t/a-s-for-showing-a-buttons-rollover-state/182692/2 "2006-03-20T20:12:55Z")

</div>

Just set a variable for the button in the “over” keyframe

---

<div class="post-metadata">

**Author:** ![pseudodigm](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@pseudodigm](https://forum.kirupa.com/u/pseudodigm)\
**Post date:** [March 20, 2006, 8:34pm UTC](https://forum.kirupa.com/t/a-s-for-showing-a-buttons-rollover-state/182692/3 "2006-03-20T20:34:23Z")

</div>

I’m sorry, color me dense but I can’t piece the rest together. I’m more of a designer than a programmer.
