# hitTest refinement needed

**URL:** <https://forum.kirupa.com/t/hittest-refinement-needed/15043>\
**Category:** flash\
**Created:** [March 5, 2003, 5:44pm UTC](https://forum.kirupa.com/t/hittest-refinement-needed/15043 "2003-03-05T17:44:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcs](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@jcs](https://forum.kirupa.com/u/jcs)\
**Post date:** [March 5, 2003, 5:44pm UTC](https://forum.kirupa.com/t/hittest-refinement-needed/15043/1 "2003-03-05T17:44:10Z")

</div>

Was inspired by a recent thread with electrongeek about using hitTest to advance/reverse an mc.

I’m using this in a shopping display, but need help refining it.

In this movie, when you rollover a person’s clothes, the background whitewashes out and callouts describe the outfit.  
The way I have it set up, with the whitewash in the mc I’m hitTest-ing, the user has to take the mouse off the entire stage for prevFrame to activate.

I want to limit the hitTest area to only the outfit itself.

Have tried alternatives and searched the forum to no avail. Currently, I have to maximize the screen in testing mode to make it work. Please advise! Thanks.

jcs

---

<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:** [March 5, 2003, 6:03pm UTC](https://forum.kirupa.com/t/hittest-refinement-needed/15043/2 "2003-03-05T18:03:33Z")

</div>

easy as placing the image into a movie clip 🙂

---

<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:** [March 5, 2003, 6:11pm UTC](https://forum.kirupa.com/t/hittest-refinement-needed/15043/3 "2003-03-05T18:11:30Z")

</div>

it’s -sniff- beautiful:\*(  
thanks so much kax - i was adjusting everything EXCEPT what the hitTest perameters should be!  
Not only does the movie work, but you just cleared the cotton out of my head about using hitTest.

🙂

Thanks again!

JCS

---

<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:** [March 5, 2003, 6:12pm UTC](https://forum.kirupa.com/t/hittest-refinement-needed/15043/4 "2003-03-05T18:12:56Z")

</div>

no problem **jcs** =)

😉

---

<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:** [March 5, 2003, 6:29pm UTC](https://forum.kirupa.com/t/hittest-refinement-needed/15043/5 "2003-03-05T18:29:10Z")

</div>

kax - one last issue. As you saw, there were multiple outfits in that movie (actually, it’s a Jeff Wall photo I’m just using as a mockup:bandit: ). When I added the second in, I’m having a levels problem. The left guy’s mc slides under the right guy’s mc; the new guy’s is above the left guy.  
I imagine this will complicate further if I add more models. How can I keep the current mc on top?  
Would I write AS in the first frame assigning “this” to some higher level? Appreciate your thoughts on this.

jcs(-:
