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

Using Loops

One thing computers are particularly good at is repetitive tasks. To get a computer to perform a repetitive task in ActionScript, you use a loop.

A loop is a section of code that is executed until some condition is met. Usually, the condition is either a loop counter reaching a set number or a variable (or variables) reaching some value.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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