# Problem with AS on buttons within mc's

**URL:** <https://forum.kirupa.com/t/problem-with-as-on-buttons-within-mcs/25484>\
**Category:** Uncategorized\
**Created:** [July 13, 2003, 12:37pm UTC](https://forum.kirupa.com/t/problem-with-as-on-buttons-within-mcs/25484 "2003-07-13T12:37:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mindfriction](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mindfriction/32/172_2.png) [@mindfriction](https://forum.kirupa.com/u/mindfriction)\
**Post date:** [July 13, 2003, 12:37pm UTC](https://forum.kirupa.com/t/problem-with-as-on-buttons-within-mcs/25484/1 "2003-07-13T12:37:32Z")

</div>

Hey people,

Having a small problem.

I have an mc with a button nested inside and on this button I have AS for the rollOver and rollOut to play certain frames of the mc. The problem is when I use this mc (called ‘mybutton\_mc’) in a menu system and I want to add AS to it to navigate to different areas, ie adding onPress to this mc, it kill’s the AS on the rollOver and rollOut functions of the button within.

Anyone??

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 13, 2003, 2:54pm UTC](https://forum.kirupa.com/t/problem-with-as-on-buttons-within-mcs/25484/2 "2003-07-13T14:54:35Z")

</div>

Simple: if you add onMouseEvent actions to the clip, it behaves like a button (so internal AS gets killed), not like a clip anymore…
