# AS2 - button inside movieClip

**URL:** https://forum.kirupa.com/t/as2-button-inside-movieclip/281157
**Category:** flash
**Created:** [February 5, 2009, 4:30pm UTC](https://forum.kirupa.com/t/as2-button-inside-movieclip/281157 "2009-02-05T16:30:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xavixaf](https://avatars.discourse-cdn.com/v4/letter/x/e480ec/32.png) [@xavixaf](https://forum.kirupa.com/u/xavixaf)
#### Post date: [February 5, 2009, 4:30pm UTC](https://forum.kirupa.com/t/as2-button-inside-movieclip/281157/1 "2009-02-05T16:30:33Z")

</div>

Hi to all,

I have a problem with AS2 code and don’t now how to solve it. I have a button inside another movieClip and this movieClip is also working as a button by ActionScript (onRollover/onRollout) to flip it. The problem is that when the movieClip has this kind of code applied works as a buttons and disable the inside button.

I tried to solve it by using hitTest but doesn’t works. Anybody now how to solve it?? i’m sure that there is a solution but can’t imagine how at this moment.

Thanks in advance  
Xavi
