do..while
Availability
Flash Lite 1.0.
Usage
do {
statement(s)
} while (condition)
Parameters
The statement(s) to execute as long as the
statement(s)
to
.
true
The condition to evaluate.
condition
Description
Statement; executes the statements, and then evaluates the condition in a loop for as long as
the condition is
true
Example
The following example increments the index variable as long as the variable's value is less
than 10:
i = 0;
do {
//trace (i);
i++;
} while (i<10);
See also
,
,
break
continue
for
68
Flash Lite Statements
.
// output: 0,1,2,3,4,5,6,7,8,9
,
while
parameter evaluates
condition
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?