# Need help with buttons inside a MC

**URL:** <https://forum.kirupa.com/t/need-help-with-buttons-inside-a-mc/240226>\
**Category:** flash\
**Created:** [October 1, 2007, 4:21am UTC](https://forum.kirupa.com/t/need-help-with-buttons-inside-a-mc/240226 "2007-10-01T04:21:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pimsme](https://avatars.discourse-cdn.com/v4/letter/p/ebca7d/32.png) [@pimsme](https://forum.kirupa.com/u/pimsme)\
**Post date:** [October 1, 2007, 4:21am UTC](https://forum.kirupa.com/t/need-help-with-buttons-inside-a-mc/240226/1 "2007-10-01T04:21:03Z")

</div>

I have very little understanding about AS, but i am trying to learn. I have 2 issues one is that i have buttons inside a MC and i am not able to interact with them because the MC is a rollover so the whole window that opens acts like a button and i can not access the buttons. ( i think it has something to do with parent child, but i do not know how to resolve it) My second issue is along the same lines except the problem is i have a text scroll bar i can not interact with.

I read something about hittest and i tried it but it had my btn acting weird and i am not clear why, here is that code:

onClipEvent (enterFrame) {  
if (this.hitTest(\_root.\_xmouse, \_root.\_ymouse, true)) {  
\_root.Anim\_Oct.gotoAndPlay(“bar in”);  
}  
}

Thanks for any and all help…
