# Can´t disable child movie in button

**URL:** <https://forum.kirupa.com/t/can-t-disable-child-movie-in-button/287693>\
**Category:** flash\
**Created:** [May 5, 2009, 12:00pm UTC](https://forum.kirupa.com/t/can-t-disable-child-movie-in-button/287693 "2009-05-05T12:00:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![moink](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@moink](https://forum.kirupa.com/u/moink)\
**Post date:** [May 5, 2009, 12:00pm UTC](https://forum.kirupa.com/t/can-t-disable-child-movie-in-button/287693/1 "2009-05-05T12:00:15Z")

</div>

**Briefing**  
When roll\_over button (info\_btn) the child mc (infotext\_1) starts  
and animate a text outside the button .  
When roll\_out the child mc animate the text back to the btn.  
Simple, and it works… almost.

**Problem**  
The mouse hits the child mc after roll\_out and roll\_over activates. I dont want that.  
info\_btn.mouseChildren = false; doesnt work.

* * *

info\_btn.buttonMode = true;  
info\_btn.mouseChildren = false;  
info\_btn.addEventListener(MouseEvent.ROLL\_OVER, function(event:MouseEvent) {  
info\_btn.gotoAndPlay(2);  
});  
info\_btn.addEventListener(MouseEvent.ROLL\_OUT, function(event:MouseEvent) {  
info\_btn.gotoAndPlay(10);  
});

* * *

Anyone? Please
