# Interactive human body

**URL:** <https://forum.kirupa.com/t/interactive-human-body/260295>\
**Category:** flash\
**Created:** [May 14, 2008, 7:44am UTC](https://forum.kirupa.com/t/interactive-human-body/260295 "2008-05-14T07:44:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkhippothewis](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@darkhippothewis](https://forum.kirupa.com/u/darkhippothewis)\
**Post date:** [May 14, 2008, 7:44am UTC](https://forum.kirupa.com/t/interactive-human-body/260295/1 "2008-05-14T07:44:44Z")

</div>

Hi,

I’m currently working on an interactive human body.

I need to be able to do the following:

When a location is clicked by the user, the anatomical region i.e. ‘Hand Palm/Right’ as well as the X and Y coordinates need to be sent to a field input on the form. The location should also be displayed on the image in the form of a red ‘x’.

Thanks

---

<div class="post-metadata">

**Author:** ![Pier25](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@Pier25](https://forum.kirupa.com/u/Pier25)\
**Post date:** [May 14, 2008, 8:28am UTC](https://forum.kirupa.com/t/interactive-human-body/260295/2 "2008-05-14T08:28:25Z")

</div>

you could do it this way:

1. have a mc for every zone in the body you need and put a reference code in the instance name ie: zone\_12

2. have an array and place the real names of the zones at the number positon. ie: if zone\_12 is the right hand then names\_array[12] = “Right Hand”

3. have a function that takes the number from the instance name (12 in zone\_12) and get the text from the array. ie: names\_array[give\_number(“zone\_12”)]

4. then have a function the puts the text and mouse coordinates or mc coordinates on some textfields

---

<div class="post-metadata">

**Author:** ![darkhippothewis](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@darkhippothewis](https://forum.kirupa.com/u/darkhippothewis)\
**Post date:** [May 16, 2008, 6:49am UTC](https://forum.kirupa.com/t/interactive-human-body/260295/3 "2008-05-16T06:49:45Z")

</div>

Thanks for your help. I think i’ve got what i need to continue.

---

<div class="post-metadata">

**Author:** ![Pier25](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@Pier25](https://forum.kirupa.com/u/Pier25)\
**Post date:** [May 16, 2008, 8:37am UTC](https://forum.kirupa.com/t/interactive-human-body/260295/4 "2008-05-16T08:37:47Z")

</div>

If you need more help just ask 😉

happy coding
