# Parent/Child Movieclip Problem

**URL:** <https://forum.kirupa.com/t/parent-child-movieclip-problem/211656>\
**Category:** flash\
**Created:** [January 4, 2007, 12:09am UTC](https://forum.kirupa.com/t/parent-child-movieclip-problem/211656 "2007-01-04T00:09:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jor133d](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jor133d/32/315_2.png) [@jor133d](https://forum.kirupa.com/u/jor133d)\
**Post date:** [January 4, 2007, 12:09am UTC](https://forum.kirupa.com/t/parent-child-movieclip-problem/211656/1 "2007-01-04T00:09:33Z")

</div>

I have my parent MC instance name “legend”- within the MC I have a button “info\_btn”

I want the MC “legend” to start with alpha value 10. Then when you rollover the MC legend it fades into 100. Then when I rollover the MC info\_btn it makes over\_mc appear.

I am a newbie, why doesn’t his code work?:

```auto
#include "lmc_tween.as"

legend._alpha = 10;
legend.useHandCursor = false
legend.over_mc._visible = false;

legend.info_btn.onRollOverHandler = function(){
	legend.over_mc._visible = true;
}

legend.info_btn.onRollOutHandler = function (){
	legend.over_mc._visible = false;
	
}
// delegate to all children
legend.onRollOver = function(){
	onRollOverHandler();
	legend.alphaTo(100,1.5);
	
}

legend.onRollOut = function(){
	onRollOutHandler();
	legend.alphaTo(10,1.5);
	
}

```
