O'Reilly logo

Macromedia® Flash® 8 ActionScript: Training from the Source by Danny Patterson, Jobe Makar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Arrays and Loops

We all have to perform repetitive tasks. Whether complicated or simple, a repetitive task requires performing at least one step in a process repeatedly. For example, if you were sending out 100 wedding invitations, repetitive tasks in that process could include folding papers, stuffing envelopes, sealing envelopes, and affixing stamps—you’d do each task 100 times. In ActionScript, performing a set of repeated steps (actions) multiple times is called looping. ActionScript lets you loop through a set of actions as many times as needed, which means that instead of writing an action (or set of actions) several times, you can write it once and loop through it any number of times. In this lesson, you’ll learn how to use the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required