kirupa.com - Calculating the Distance between Objects, Page 2

In the previous page, we learned a lot about the basics about functions. In this page, we will explore some variations to functions by introducing arguments and the art of passing data! We'll wrap this tutorial up with an explanation of how my animation on the previous page works.


This is a companion discussion topic for the original entry at http://www.kirupa.com/developer/actionscript/functions2.htm