# Child Sprite Problem

**URL:** <https://forum.kirupa.com/t/child-sprite-problem/240159>\
**Category:** flash\
**Created:** [September 29, 2007, 10:09pm UTC](https://forum.kirupa.com/t/child-sprite-problem/240159 "2007-09-29T22:09:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![endemoniada](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Post date:** [September 29, 2007, 10:09pm UTC](https://forum.kirupa.com/t/child-sprite-problem/240159/1 "2007-09-29T22:09:21Z")

</div>

Hi guys,

I’m making a dialog-type box, so I just used a Sprite and call addChild() and removeChild() to show/hide it.

The problem is: the Sprite is sending mouse message to the parent, and the parent is reacting to them. What’s strange is that before I addChild() I kill the mouse event listeners and the child Sprite doesn’t even have mouse events set up.

What’s going on ?
