Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Working with arrays

Working with arrays provides you with in-depth training on Web. Taught by Todd Perkins as part of th… Show More

Flash CS3 Professional Beyond the Basics

with Todd Perkins

Video: Working with arrays

Working with arrays provides you with in-depth training on Web. Taught by Todd Perkins as part of the Flash CS3 Professional Beyond the Basics
Expand all | Collapse all
  1. 3m 29s
    1. Welcome
      1m 20s
    2. Getting the most from this training
      1m 20s
    3. Using the exercise files
  2. 15m 26s
    1. Managing digital assets
      4m 8s
    2. Creating custom keyboard shortcuts
      5m 1s
    3. Creating custom color swatches
      3m 41s
    4. Creating a custom template
      2m 36s
  3. 14m 36s
    1. Working with variables
      3m 41s
    2. Using functions
      3m 29s
    3. Working with events
      2m 11s
    4. Using event listeners
      2m 42s
    5. Working with arrays
      2m 33s
  4. 29m 40s
    1. Understanding dynamic text fields
      2m 37s
    2. Loading text from an external file
      6m 42s
    3. Reading HTML from a text field
      5m 29s
    4. Applying CSS with ActionScript
      6m 59s
    5. Applying external CSS to a text field
      7m 53s
  5. 45m 21s
    1. Masking dynamic text
      4m 58s
    2. Dragging the Scroll Bar
      7m 3s
    3. Calculating a scroll percent
      5m 20s
    4. Setting scroll boundaries
      4m 8s
    5. Connecting the ScrollBar to the text field
      2m 54s
    6. Easing the text with the ScrollBar
      4m 11s
    7. Scrolling the text with buttons
      2m 38s
    8. Animating the scrolling text with the buttons
      4m 25s
    9. Setting boundaries for the scrolling text
      4m 25s
    10. Easing the text using the buttons
      1m 37s
    11. Connecting the ScrollBar to the Scroll buttons
      3m 42s
  6. 20m 45s
    1. Organizing a complex object into layers
      1m 51s
    2. Duplicating MovieClips
      1m 29s
    3. Undocking the timeline
      1m 20s
    4. Animating a complex MovieClip
      4m 36s
    5. Creating an animated Hinge effect
      5m 12s
    6. Creating complex animations
      6m 17s
  7. 28m 0s
    1. Controlling objects with buttons
      4m 6s
    2. Understanding frame labels
      3m 24s
    3. Using buttons to navigate labeled frames
      2m 30s
    4. Nesting code within MovieClips
      5m 8s
    5. Adding sound to the application
      2m 34s
    6. Adding drag interactivity to the robot
      6m 1s
    7. Animating the dragged robot
      4m 17s
  8. 20m 2s
    1. Understanding components
      2m 30s
    2. Using components to setup a form
      3m 45s
    3. Setting up the form to send an email
      3m 38s
    4. Working with form variables
      6m 10s
    5. Skinning components
      3m 59s
  9. 27m 35s
    1. Using transparency in a video
      4m 16s
    2. Working with embedded video
      3m 37s
    3. Animating a VideoClip
      2m 53s
    4. Creating an advanced animation with video
      2m 40s
    5. Working with the bitmap data class
      3m 36s
    6. Working with the bitmap class
      1m 39s
    7. Copying the video to create a reflection
      1m 35s
    8. Reflecting the video
      2m 41s
    9. Enhancing a video reflection with a mask
      4m 38s
  10. 1h 38m
    1. Viewing the finished MP3 player
      1m 45s
    2. Understanding the project flow
      2m 51s
    3. Preparing to build the MP3 player
      5m 10s
    4. Understanding classes and packages
      5m 31s
    5. Creating the MP3 player class
      9m 58s
    6. Loading sounds from external files
      9m 19s
    7. Accessing ID3 tag information
      6m 11s
    8. Controlling sound playback with Play and Pause buttons
      11m 3s
    9. Changing tracks
      12m 0s
    10. Displaying the current volume
      9m 33s
    11. Changing the volume
      6m 40s
    12. Wiring the progress bar
      8m 4s
    13. Building the progress bar slider
      10m 3s
  11. 5m 35s
    1. Making Flash movies accessible
      1m 48s
    2. Adding a name and description to your Flash movie
    3. Accessibility and text fields
      2m 55s
  12. 11m 58s
    1. Understanding Flash Mobile
    2. Exploring Device Central
      1m 44s
    3. Updating Device Profiles
      1m 6s
    4. Creating a Flash file from Device Central
      2m 7s
    5. Creating and testing Flash Lite applications
      2m 47s
    6. Downloading the Flash Lite player for Windows Mobile
      1m 43s
    7. Getting a Flash Lite application onto your phone
      1m 56s
  13. 27s
    1. Goodbye

please wait ...
Working with arrays
Video Duration: 2m 33s 5h 21m Intermediate


Working with arrays provides you with in-depth training on Web. Taught by Todd Perkins as part of the Flash CS3 Professional Beyond the Basics

View Course Description

Through several hands-on tutorials, instructor Todd Perkins shows how to best build dynamic, streamlined sites using Flash CS3 Professional. Learn how to create custom keyboard shortcuts, apply advanced text techniques such as animating scrolling text with custom easing controls, and using advanced animation techniques. Flash CS3 Professional Beyond the Basics covers many challenging features, including adding complex interactivity to a Flash CS3 project and getting Flash content on a phone. Exercise files accompany the tutorials.

Topics include:
  • Customizing Flash CS3 and managing assets Working with ActionScript variables Understanding dynamic text fields Adding interactivity to dynamic text Animating a complex MovieClip Using buttons to navigate labeled frames Working with components Exploring advanced audio and video techniques Creating accessible Flash content Understanding Flash Mobile
Flash Professional

Working with arrays

Another important part of ActionScript 3.0 is something called an array. In this movie we'll talk about arrays and how to create them and work with them in Flash. If you're following along and working in 05_arrays.fla in the Chapter 02 folder in the Exercise Files folder. You can also just create a blank document and rename layer one to actions. So let's select the first keyframe of actions layer and open up the Actions panel. To do that press Option+F9 on the Mac, or F9 on the PC. And now in the Actions panel let's create an array. To create an array type var and then space.

And that will create a variable to hold our array. Now we'll create a name for our array. I'm going to call my array my_ary. Set the data type using a colon to Array with a capital A. I'll set that equal to a new array by using shorthand notation. Remember the shorthand notation to create an array is using square brackets. Inside of the square brackets I'm going to type the values of my array and I'll separate the values with commas. The date inside of an array can be one data type or multiple data types. It doesn't matter what type of data is inside the array.

For example, the first value in my array can be 5, a number. The second value can be my name, Todd, in quotes. Remember quotes in Flash indicate a string. A string is a text value So a comma, and the next value we'll do a boolean value. Remember boolean is true or false. The value we'll pass then is true. Remember that's not in quotes because it's not a string but a true or false value. So there's a look at creating an array. But what if wanted to access the data inside of the array. Remember that each item in an array has an index number.

In Flash an array index starts at zero and then one and two and so on. So the number five in here would be my array index zero. The text value Todd, would be my array index one. And true would be my array index 2. Let's go to the next line and talk about how to access data in an array. I'm going to type trace and parentheses and a semicolon to end the statement. Inside of the parentheses I'm going to trace the value my_ary(1) index one. Now to tell Flash I'm going to reference an index of an array I use square brackets.

The value that you pass into the square brackets, represents the index of the array that you want to reference. So I'm tracing my array index one, which when I test the movie should give me a value of Todd. So let's test the movie and make sure it works. Command+Return on the Mac, Ctrl+Enter on the PC. And there's Todd in the Output window. I'm going to close the Output window, and the Flash player window. And there's a look at creating and working with an array.

There are currently no FAQs about Flash CS3 Professional Beyond the Basics.






Don't show this message again
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

* Estimated file size

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.

Mark all as unwatched Cancel


You have completed Flash CS3 Professional Beyond the Basics.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a Member and Create Custom Playlists

Join today and get unlimited access to the entire library of online learning video courses—and create as many playlists as you like.

Get started

Already a member?

Log in

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

You started this assessment previously and didn’t complete it.

You can pick up where you left off, or start over.

Resume Start over

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.