This content has been marked as final. Show 3 replies
That is because you can't. Every pixel of a child clip is also a pixel of the parent. Therefore the won't be any way for the child defined event to happen.
The usual solution is to have more movie clips. Have a parent movieclip and then the two clips you are currently using would both be children of that container – not inside each other, but both just inside the parent container.
There are probably lots of other solutions, but they tend toward complicated and also depend upon exactly what you are trying to do.
I ended up with the same solution. Funny how something so simple isn't mentioned in the documentation. Thanks for the help!
actually, i think a simpler solution is to define a mouse handler for the parent and use a hitTest() between the child and mouse to determine if you want the child to respond to the mouse event or you want the parent to respond: