If
is undefined, the return value is
expression
If
is a movie clip or an object, the return value is
expression
See also
Boolean class
break
Availability
Flash Player 4.
Usage
break
Parameters
None.
Returns
Nothing.
Description
Statement; appears within a loop (
statements associated with a particular case within a
Flash to skip the rest of the loop body, stop the looping action, and execute the statement
following the loop statement. When using the
the statements in that
action. Use the
break
Example
The following example uses the
i = 0;
while (true) {
if (i >= 100) {
break;
}
i++;
}
See also
,
,
break
for
for..in
292
Chapter 12: ActionScript Dictionary
,
for
for..in
block and jumps to the first statement following the enclosing
case
action to break out of a series of nested loops.
action to exit an otherwise infinite loop.
break
,
,
, switch,
do while
while
.
false
.
true
,
or
do while
while
action. The
switch
action, the Flash interpreter skips the rest of
break
case
) or within a block of
action instructs
break
switch
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?