Mouse Coordinates Over a Triangle

Hi Friends,

I need to make a tool where as you mouse over a triangle it displays the percentage of proximity to each of the triangle’s three corners. Then, when clicked, it places a dot on that spot and the corresponding percentage values are sent to a web form. Please help! I am even willing to pay someone if you can help with this.

willstone06 @ gmail.com

I cant give code atm, but basically you would do 3 distance calculations within onEnterFrame and display those values. Then onPress call a function similar to this [AS]
placeDot = function(x:Number, y:Number, ind:Number):Void {
duplicateMovieClip(mcDot, “mcDot”+ind, ind);
this[“mcDot”+ind]._x = x;
this[“mcDot”+ind]._y = y;
}
on(press) {
!ind ? ind=0 : null;
placeDot(_xmouse, _ymouse, ind++);
}[/AS]hope that helps
}