User Guide

Statements 193
function Comprises a set of statements that you define to perform a certain
task.
get Permits implicit getting of properties associated with objects based
on classes you have defined in external class files.
if Evaluates a condition to determine the next action in a SWF file.
implements Specifies that a class must define all the methods declared in the
interface (or interfaces) being implemented.
import Lets you access classes without specifying their fully qualified names.
interface Defines an interface.
intrinsic Allows compile-time type checking of previously defined classes.
private Specifies that a variable or function is available only to the class that
declares or defines it or to subclasses of that class.
public Specifies that a variable or function is available to any caller.
return Specifies the value returned by a function.
set Permits implicit setting of properties associated with objects based
on classes you have defined in external class files.
set variable Assigns a value to a variable.
static Specifies that a variable or function is created only once per class
rather than being created in every object based on that class.
super Invokes the superclass' version of a method or constructor.
switch Creates a branching structure for ActionScript statements.
throw Generates, or throws , an error that can be handled, or caught , by a
catch{} code block.
try..catch..finally Enclose a block of code in which an error can occur, and then
respond to the error.
var Used to declare local or Timeline variables.
while Evaluates a condition and if the condition evaluates to true , runs a
statement or series of statements before looping back to evaluate the
condition again.
with Lets you specify an object (such as a movie clip) with the object
parameter and evaluate expressions and actions inside that object
with the statement(s) parameter.
Statement Description