IN THIS CHAPTER
So far we have covered some of the basics of ActionScript, including variables, statements, and arrays. Now we'll get into functions.
A
function is basically a reusable piece of code. After a function is created, it can be used over and over without your rewriting the code. This is very powerful, not only because it can save on file size, but also because it will make your code much more scalable and portable.