Understanding the ActionScript Language > Controlling flow in scripts

 

Controlling flow in scripts

ActionScript uses if, else, else if, for, while, do..while, for..in, and switch actions to perform an action depending on whether a condition exists.