# Buttons within MC within an MC

**URL:** <https://forum.kirupa.com/t/buttons-within-mc-within-an-mc/190634>\
**Category:** flash\
**Created:** [June 13, 2006, 5:08pm UTC](https://forum.kirupa.com/t/buttons-within-mc-within-an-mc/190634 "2006-06-13T17:08:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fattony](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@fattony](https://forum.kirupa.com/u/fattony)\
**Post date:** [June 13, 2006, 5:08pm UTC](https://forum.kirupa.com/t/buttons-within-mc-within-an-mc/190634/1 "2006-06-13T17:08:54Z")

</div>

I looked around and saw no tuts on buttons embeded into movie clips so heres the case: I have a movie clip Navi\_mc, inside that is another movie clip navimc which is animated for the slide out menu the site has, inside that are the 10 buttons, About\_btn - Support\_btn, etc, etc…

I added the normal code within the buttons on(release){gotoAndPlay(“About”)} to each of the buttons, ran the movie and the buttons neither mouse over or work at all, I noticed that the MovieClip apparently works as a mouse over due to its code on(MouseOver){Navi\_mc.gotoAndPlay(2)} for the animation I will post each code so you can see, but I need the “Navigation” menu to have a mouse over extend out, mouse out retract but in, and contain buttons with mouse overs.

Navigation Bar code:  
[AS]  
navi\_mc.onRollOver = function(){  
navi\_mc.gotoAndPlay(2);  
}  
navi\_mc.onRollOut = function(){  
navi\_mc.gotoAndPlay(8);  
}  
[/AS]

There is a Naviclip which is the animation to the movie located inside that Movie Clip

Button code:  
[AS]  
on(release){gotoAndPlay(“About”)}  
[/AS]

I will post the Navigation Flash file thing if you may need it. Any help would be nice thanks in advanced, I’m an idiot lol. Obviously alot of buttons and such were removed to keep this small.
