# Problem with mouse events

**URL:** <https://forum.kirupa.com/t/problem-with-mouse-events/291288>\
**Category:** Uncategorized\
**Created:** [June 27, 2009, 10:16am UTC](https://forum.kirupa.com/t/problem-with-mouse-events/291288 "2009-06-27T10:16:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![avi\_khoury](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@avi\_khoury](https://forum.kirupa.com/u/avi_khoury)\
**Post date:** [June 27, 2009, 10:16am UTC](https://forum.kirupa.com/t/problem-with-mouse-events/291288/1 "2009-06-27T10:16:58Z")

</div>

hello,  
i have a problem with the mouse event, there are objects on the stage that have both, down and over while down mouse listener functions, the problem is when i click on the object the second time, it doesnt return the object, it returns the stage instead, after a click or two it starts again to capture correctly, and so on.  
when it doesnt detect the click on the object, i get the stage!  
i attached the file which contains the action script, i removed everything except for the click handling functions and the objects.  
please help.
