# Stage & movieclip mouseevent conflict

**URL:** <https://forum.kirupa.com/t/stage-movieclip-mouseevent-conflict/288836>\
**Category:** Uncategorized\
**Created:** [May 21, 2009, 3:41pm UTC](https://forum.kirupa.com/t/stage-movieclip-mouseevent-conflict/288836 "2009-05-21T15:41:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![magarik](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@magarik](https://forum.kirupa.com/u/magarik)\
**Post date:** [May 21, 2009, 3:41pm UTC](https://forum.kirupa.com/t/stage-movieclip-mouseevent-conflict/288836/1 "2009-05-21T15:41:02Z")

</div>

hello kind people

i have a simple problem that i dont know how to solve in a simple way…

i have stage eventListener for a mouse click, and at the same time a movieclip that also listens for a mouse click.

when i click the mc both stage and mc react. how can i make sure that the stage reacts only when i dont click the mc as well?

I dont know eventhandling well, i dont set the capture, priority and reference because i dont know what they actually do (i’ve read a bit but didnt actually get it)

I thought to make the stage called function to have an if statement that’d make sure that i am not over the mc, and the only way i know how to do it is to have a variable changed on mouse\_over of the mc. but i think there’s something far shorter and lighter…

can anybody please help?

thanks,  
michael
