Actions, Functions, and Properties
The actions and properties described in this section can be thought of as methods and properties of the top-level movie. ActionScript also provides built-in functions for evaluating various expressions. These are described in the following tables:
Table D-8 |
Table D-9 |
Table D-10 |
Action name | Parameters | Description |
call |
| Switch the context from this script to the script attached to the specified frame. |
delete |
| Delete (undefine) the specified object or variable. |
duplicateMovieClip |
| Create a new instance
of the given MovieClip, place it at |
fscommand |
| Pass a command and list of arguments to the system that is running the SWF user agent. |
function |
| Define a function. |
getURL |
| Load a MovieClip from
an external URL. The optional
|
gotoAndPlay |
| Go to a particular frame and play the movie. |
gotoAndStop |
| Go to a particular frame and stop the movie. |
loadMovie |
| Load an external movie from the specified URL. The target can be a path to an existing object in the movie (which will be replaced) or the depth at which the movie clip should be placed. |
loadVariables |
| Load variable data from a text file or CGI script. The data will be read into ... |
Get Perl Graphics Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.