Join Joseph Labrecque for an in-depth discussion in this video Loops, part of Getting Started with ActionScript.
The concept of looping through code is tied closely to automation, and is a …structure that can both save time, and allow for more dynamic code implementation. …This lesson will examine different looping structures within AS three and …provide some examples of times you may wish to implement them. …So, we can see this example file here and right away we're declaring a private …variable flasharray and typing that to an array. …One of the useful things about array's since they are index based, they're very …easy to loop through and automate. In our constructor function.…
We're calling two other functions. The first one is buildstructures, which …is going to build the array for us. And after that is done, we will process structures. …Which is going to go through and do our looping. …So, scrolling down to these two functions here. …We can see that, within BuildStructures, we're setting FlashArray to a new array. …And then, where we could go through line by line and say newArray.push and push …
- What is ActionScript and why should I learn it?
- ActionScript 2.0 vs. ActionScript 3.0
- Implementing external source code
- Working in Flash Professional and Flash Builder
- Understanding language fundamentals
- Working with ActionScript objects
Skill Level Beginner
ActionScript 3.0: Working with XMLwith Todd Perkins2h 27m Intermediate
ActionScript 3.0 Projects: Game Developmentwith Todd Perkins5h 38m Intermediate
ActionScript 3.0 in Flex Builder 2.0 Essential Trainingwith Joey Lott12h 46m Intermediate
1. Getting Started with ActionScript 3.0
AS3 language fundamentals7m 44s
2. Working in Flash Professional
3. Working in Flash Builder
4. AS3 Language Fundamentals
5. Working with AS3 Objects
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.