Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The for loop statement is one of the most common loop statements used in ActionScript. The for loop executes a block of code while it iterates through a specific range of values. To iterate through a range of values, you must supply three expressions to the loop:
An integer variable
A condition that checks value of the integer
An expression that changes the integer value