Hi list...

I have an odd shaped MC on the stage.  I'd like to find the distance
between the mouse and the MC, simple enough -- but not to the MC's
registration point, but to the *edge* of the MC.  And to boot, it's an
odd-shaped MC.  Can you determine the MC's closest point on its edge to
the mouse?

//something like...

Math.sqrt(Math.pow((_root._xmouse -
closestMCedge_x),2)+Math.pow((_root._ymouse - closestMCedge_y),2));

Thanks,
- Michael M.

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to