ActionScript: Get distance between 2 MovieClips

If you want to get the distance in pixels between 2 graphic objects just use the Pythagorean theorem in ActionScript :).

c² = a² + b²

Download source : Get_Distance.zip