# Button on a Movieclip question

**URL:** <https://forum.kirupa.com/t/button-on-a-movieclip-question/287550>\
**Category:** flash\
**Created:** [May 3, 2009, 2:40pm UTC](https://forum.kirupa.com/t/button-on-a-movieclip-question/287550 "2009-05-03T14:40:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juniorspecial](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/juniorspecial/32/2610_2.png) [@juniorspecial](https://forum.kirupa.com/u/juniorspecial)\
**Post date:** [May 3, 2009, 2:40pm UTC](https://forum.kirupa.com/t/button-on-a-movieclip-question/287550/1 "2009-05-03T14:40:00Z")

</div>

Let’s say MovieClipA is 100px x 100px. When I rollover MovieClipA, it makes MovieClipB go to .\_alpha = 10. When I rollOut MovieClipA, MovieClipB goes back to .\_alpha = 100. This is working as I want it.

Now, when I put a button onto MovieClipA, when I rollover the button, it acts like MovieClipA has had a rollOut, and MovieClipB goes to .\_alpha = 10.

How do I prevent this? How do I code it, so when I work the button, MovieClipA stays in the rollOver state? How do I keep MovieClipA from going to rollOut when I go over the button?

thanks so much,  
A
