Statements
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
Statement | Description |
---|---|
break | Appears within a loop (for , for..in, do..while or while) or within a block of statements associated with a particular case within a switch statement. |
case | Defines a condition for the switch statement. |
class | Defines a custom class, which lets you instantiate objects that share methods and properties that you define. |
continue | Jumps past all remaining statements in ... |
Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 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.