# Dynamic MC's and onMouseDown

**URL:** <https://forum.kirupa.com/t/dynamic-mcs-and-onmousedown/170434>\
**Category:** flash\
**Created:** [November 26, 2005, 1:12am UTC](https://forum.kirupa.com/t/dynamic-mcs-and-onmousedown/170434 "2005-11-26T01:12:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sinister\_Shadow](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@Sinister\_Shadow](https://forum.kirupa.com/u/Sinister_Shadow)\
**Post date:** [November 26, 2005, 1:12am UTC](https://forum.kirupa.com/t/dynamic-mcs-and-onmousedown/170434/1 "2005-11-26T01:12:15Z")

</div>

Ok, I’m generating upto 50 dynamic movieclips that contain text boxes (also created at runtime) and an image (loaded at runtime). I want to be able to click on one of those but no matter where I click on stage, all of the movieclip’s onMouseDown event triggers! I’ve tried setting \_height, \_width and have checked the movieclips bounds (getBounds) but I’m lost!

I don’t want to use onPress because I need to add double click functionality (if anyone knows a nice way of adding that it would be great!) and as far as I’m aware, onPress is not part of the Mouse object.

Any ideas?
