Break - MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Statement
switch
while

break

Availability
Flash Lite 1.0.
Usage
break
Parameters
None.
Description
Statement; appears within a loop (
associated with a particular case within a
Flash Lite to skip the rest of the loop body, stop the looping action, and execute the statement
following the loop statement. When using the
skips the rest of the statements in that
the enclosing
switch
Example
The following example uses the
i = 0;
while (true) {
if (i >= 100) {
break;
}
i++;
}
See also
,
,
case
do..while
for
64
Flash Lite Statements
Description
Similar to the
statement, the
if
and executes statements if the condition evaluates to
Tests an expression and runs a statement or series of statements
repeatedly in a loop as long as the expression is
,
for
do..while
switch
case
statement. Use this statement to break out of a series of nested loops.
statement to exit an otherwise infinite loop:
break
,
,
switch
while
statement tests a condition
switch
or
) or within a block of statements
while
statement. The
statement, the ActionScript interpreter
break
block and jumps to the first statement following
.
true
true.
statement instructs
break

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Table of Contents