# HitTest help?

**URL:** https://forum.kirupa.com/t/hittest-help/11558
**Category:** flash
**Created:** [January 19, 2003, 2:48am UTC](https://forum.kirupa.com/t/hittest-help/11558 "2003-01-19T02:48:35Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![twig](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@twig](https://forum.kirupa.com/u/twig)
#### Post date: [January 19, 2003, 2:48am UTC](https://forum.kirupa.com/t/hittest-help/11558/1 "2003-01-19T02:48:35Z")

</div>

I have a movie within another movie, and i want to hitTest the movie within.

How would this be done?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [January 19, 2003, 3:06am UTC](https://forum.kirupa.com/t/hittest-help/11558/2 "2003-01-19T03:06:50Z")

</div>

Would like to help ya twig but I am unclear about what you mean…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [January 19, 2003, 3:24am UTC](https://forum.kirupa.com/t/hittest-help/11558/3 "2003-01-19T03:24:46Z")

</div>

OK…

lets say i made a movie,

then double clicked that movie.

while inside that movie i created another movie.

I want to hitTest the movie inside the other movie instance.

Hope this makes it easier…  
Can anyone help now?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [January 19, 2003, 3:33am UTC](https://forum.kirupa.com/t/hittest-help/11558/4 "2003-01-19T03:33:34Z")

</div>

Well not really…

I think your looking for movieClip.globalToLocal or movieClip.localToGlobal functions then do hitTest. But if they are two completely different movies mabey xml?!?!

Wish I could help ya more, good luck!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [January 19, 2003, 8:15am UTC](https://forum.kirupa.com/t/hittest-help/11558/5 "2003-01-19T08:15:05Z")

</div>

Ummmm…

Lemme try and get this straight… You wanna perform an action to a movie inside of a movie only after clicking that first movie?!

d00d… It can be done… But I think you are just overly troubling yourself with this whole thing… Or you are not explaining right…

You can try…

if(\_root.MC.hitTest(\_root.MC.insideClip)){}

Maybe that’ll work out for you? Don’t know man… 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [January 19, 2003, 8:45pm UTC](https://forum.kirupa.com/t/hittest-help/11558/6 "2003-01-19T20:45:51Z")

</div>

I get it now thx alot:crazy:
