# \[CS3 AS2\] Clickable area of MC full size

**URL:** <https://forum.kirupa.com/t/cs3-as2-clickable-area-of-mc-full-size/271873>\
**Category:** flash\
**Created:** [September 29, 2008, 9:58pm UTC](https://forum.kirupa.com/t/cs3-as2-clickable-area-of-mc-full-size/271873 "2008-09-29T21:58:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason\_e\_mock](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jason\_e\_mock](https://forum.kirupa.com/u/jason_e_mock)\
**Post date:** [September 29, 2008, 9:58pm UTC](https://forum.kirupa.com/t/cs3-as2-clickable-area-of-mc-full-size/271873/1 "2008-09-29T21:58:40Z")

</div>

I know this is basic, but I lack the terms to use to search for the solution. I can do some advanced stuff in Flash, but when it comes to basics like this, I’m at a loss.

I’m trying to have two movieclips call the same function but pass to it a different argument to then process accordingly. What I’ve learned is that even though the MCs are small rectangles on the stage, their clickable area seems to span the entire stage. In this code example, when I click on one MC, the trace gives me both 1 and 2, as if both MCs had been clicked. What am I missing? Attached is the stripped-down FLA.

```auto
_root.challenge_mc.onMouseUp = function() {navigateTo(1);};
_root.thought_mc.onMouseUp = function() {navigateTo(2);};

function navigateTo(defNum:Number):Void {
    trace(defNum);
}

```
