# Detecting mouse clicks

**URL:** <https://forum.kirupa.com/t/detecting-mouse-clicks/220615>\
**Category:** Uncategorized\
**Created:** [March 27, 2007, 7:11pm UTC](https://forum.kirupa.com/t/detecting-mouse-clicks/220615 "2007-03-27T19:11:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xEnOn](https://avatars.discourse-cdn.com/v4/letter/x/85e7bf/32.png) [@xEnOn](https://forum.kirupa.com/u/xEnOn)\
**Post date:** [March 27, 2007, 7:11pm UTC](https://forum.kirupa.com/t/detecting-mouse-clicks/220615/1 "2007-03-27T19:11:18Z")

</div>

i have some movie clips on the stage and the background of these movie clips are, of course, the stage. now, i need to detect a click on any area of the background(the stage) to do something to the movieclips above it.

What I did is, I laid a movieclip which has the same size as the stage, above the Stage and below the other movieclips. I then set this movieclip to visible = false. Next, I thought I could use onMouseDown to get the clicks but unfortunately, it isn’t working because onMouseDown detects the click on anywhere I click.

I am not using onPress because I don’t want to have the hand cursor appearing on the entire flash movie.

How can I do to detect mouse clicks within a movie clip, without using the onPress, which comes with the hand cursor?

thanks! 🙂
