Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Functions for Beginners
Author: Andy Armistead (with a little help from FlashGuru)
What is a function?
A function is just a bit of code that is reusable. Think of it like a set of tasks packaged up. If you ever find yourself writing the same bit of code over and over again all over the place in your script, stop! and write a function instead. You’ll be glad you did.
Let’s take a real life example of a task that we have to do regularly to see how these things work. Later, we’ll cover a programming example for working out a percentage.
| » Level Basic |
|
|
Added: : 2001-05-16
Rating: 8.46 Votes: 185
Hits: 8682
|
| » Author |
|
No details available.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (0 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|