Contents |
|
Errors | Global Functions & Variables |
Functions are a way to wrap a block of reusable code. Functions should be declared in 'General' script or in additional JavaScript files. They can then be called from anywhere else in the movie. Functions can accept parameters and also return a value.
Example:
To call these example functions.
Errors | Global Functions & Variables |