Assign x and y coordinates to an array?

Hi guys,

I’m pretty new to actionscript.

I have an outline of a human body. When the user would click on one part of the body (x y coordinates) it would return the name of that part of the body? I’m assuming i would be using an array in this instance.

Just would like to know how you can assign x and y coordinates to an array?

Yo wouldn’t really need to use an array. Each part of the body should be a movie clip with an instance name and then do for example:

if (arm.hitTest(_xmouse, _ymouse, true)) {
trace(“Arm”);
}

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