• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Types of Loops

ActionScript can take advantage of three loop types, all of which perform an action (or set of actions) while a specific condition is true.

while Loop

The syntax for creating this common type of loop is as follows:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint