Statements are language elements that perform or specify an action. For example, the return statement returns a result as a value of the function in which it executes. The if statement evaluates a condition to determine the next action that should be taken. The switch statement creates a branching structure for ActionScript statements.

Statements summary

breakAppears within a loop (for ,, do..while or while) or within a block of statements associated with a particular case within a switch statement.
caseDefines a condition for the switch statement.
classDefines a custom class, which lets you instantiate objects that share methods and properties that you define.
continueJumps past all remaining statements in ...

Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.