User Guide
Manuals
Brands
Macromedia Manuals
Other
FLASH MX 2004-ACTIONSCRIPT LANGUAGE REFERENCE
21
22
23
24
25
26
27
28
29
30
26
Chapter 2: ActionScript Language Reference
The following example loops from 10 to 1, and ea
ch iteration of the loop decreases
the counter
variable
i
by 1.
for (var i = 10; i>0; i--) {
trace(i);
}
1
...
...
24
25
26
27
28
...
...
1104