Ok, I finally figured out what functions are used for. They make it very easy to edit your code and make everything much cleaner and simpler. Am I right in saying that if you want a function to do a tween like effect (move an mc, easing, etc…) you have to put the function in an onenterframe or onclipevent so that the function is evaluated every frame? OK. But what are prototypes. I have Searched and searched, but I can’t see how prototypes are different from functions. Any clarification would be really appreciated!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Functions, Classes, Prototypes, WTH! | 1 | 47 | February 13, 2004 | |
Functions and Prototypes: Whats the difference? | 1 | 119 | August 5, 2004 | |
Prototypes - What, When, and How | 0 | 100 | September 28, 2003 | |
Functions and Prototypes: Whats the difference?
|
1 | 135 | August 5, 2004 | |
Writing functions
|
7 | 86 | May 20, 2003 |