# Buttons inside animated movieclips not working

**URL:** https://forum.kirupa.com/t/buttons-inside-animated-movieclips-not-working/252205
**Category:** flash
**Created:** [February 17, 2008, 10:37pm UTC](https://forum.kirupa.com/t/buttons-inside-animated-movieclips-not-working/252205 "2008-02-17T22:37:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![krayziesouljah9](https://avatars.discourse-cdn.com/v4/letter/k/45deac/32.png) [@krayziesouljah9](https://forum.kirupa.com/u/krayziesouljah9)
#### Post date: [February 17, 2008, 10:37pm UTC](https://forum.kirupa.com/t/buttons-inside-animated-movieclips-not-working/252205/1 "2008-02-17T22:37:04Z")

</div>

Hi Guys,

This is my first post although I have been browsing for a long time and getting lots of help from here - thanks!

What I am making is an animated menu panel (movieclip) with about 4 buttons inside it (as movieclips)

I know the reason the buttons are not responding to my script because the movieclip they are in is animated. (I tested this with a static version and the button script works)

How can I make the buttons inside the animated movieclip work is my big question!?

Here is part of my code (the revelant bit) on 1st frame of Root:

```auto

// Menu animation script:

this.menu_mc.onRollOver=function(){
    menuTween(mx.transitions.easing.Strong.easeOut);
    _root.menu_mc.useHandCursor = false;
}
this.menu_mc.onRollOut=function(){
    menuTweenReturn(mx.transitions.easing.Strong.easeOut);
}

//Button within menu_mc script:

this.menu_mc.but_goddess.onRelease=function(){
    _root.galleryLoader_mc.loadMovie("goddess.swf");
}

```

Please help!!  
btw I am using Flash cs3 with AS2 code  
Thanks in advance
