# Problem using btns inside movieclip

**URL:** https://forum.kirupa.com/t/problem-using-btns-inside-movieclip/102597
**Category:** Uncategorized
**Created:** [February 25, 2004, 8:17am UTC](https://forum.kirupa.com/t/problem-using-btns-inside-movieclip/102597 "2004-02-25T08:17:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![monAmour](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@monAmour](https://forum.kirupa.com/u/monAmour)
#### Post date: [February 25, 2004, 8:17am UTC](https://forum.kirupa.com/t/problem-using-btns-inside-movieclip/102597/1 "2004-02-25T08:17:43Z")

</div>

Hello.

I’ve built an interactive menu with simple buttons. The buttons are placed within a movieclip which I want to animate when the mouse is over.  
The menu is suppose to slide up and down on onmouseover and onmouseout.

I’m using the following AS on my movieclip:

[AS]  
on (rollOver) {  
\_root.mainMenu.menuIns.animUp(0,5);  
}  
on (rollOut) {  
\_root.mainMenu.menuIns.animDown(88,5);  
}  
[/AS]

The functions animUp and animDown are prototypes that I’ve previously declared.

With this code I get a really nice slide effect on my menu but the menu buttons within my movieclip becomes inactive and unable to reach.  
Why is that so? and how can I solve this problem?

Regards,
