# Need help with complex button rollover effects in Flash MX

**URL:** <https://forum.kirupa.com/t/need-help-with-complex-button-rollover-effects-in-flash-mx/185475>\
**Category:** Uncategorized\
**Created:** [April 13, 2006, 3:57pm UTC](https://forum.kirupa.com/t/need-help-with-complex-button-rollover-effects-in-flash-mx/185475 "2006-04-13T15:57:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vic\_3](https://avatars.discourse-cdn.com/v4/letter/v/6f9a4e/32.png) [@Vic\_3](https://forum.kirupa.com/u/Vic_3)\
**Post date:** [April 13, 2006, 3:57pm UTC](https://forum.kirupa.com/t/need-help-with-complex-button-rollover-effects-in-flash-mx/185475/1 "2006-04-13T15:57:49Z")

</div>

Hi

I read the article about complex button RollOver/RollOut effects ([http://www.kirupa.com/developer/mx2004/button\_effect.htm](http://www.kirupa.com/developer/mx2004/button_effect.htm)) but i found that when i press ctrl+enter to view the button the animation plays to the last frame and doesnt go back to the start until i rollover it, then it resets and works properly. Does anyone have any idea why this is happening and how i can fix it? Im using flash MX. Also, how can i change the hit area for a button that’s been made this way?

Thanx

---

<div class="post-metadata">

**Author:** ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Post date:** [April 13, 2006, 4:26pm UTC](https://forum.kirupa.com/t/need-help-with-complex-button-rollover-effects-in-flash-mx/185475/2 "2006-04-13T16:26:40Z")

</div>

thats a dumb way to make tweened rollovers i reckon…it use an onEnterFrame wastes CPU no point…
