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

1 thought on “ActionScript: Get distance between 2 MovieClips

  1. I was extremely pleased to find this site.I wanted to thank you for that perfect read!! I undoubtedly taking pleasure in every little bit of it and I have you bookmarked to check out new stuff you post.

Leave a Comment