Start learning with our library of video tutorials taught by experts. Get started

ActionScript 3.0 in Flash CS4 Professional for Designers
Illustration by Don Barnett

ActionScript 3.0 in Flash CS4 Professional for Designers

with Todd Perkins

Video: Welcome

(Music playing.) Welcome to ActionScript 3.0 in Flash CS4 for Designers. I am Todd Perkins. As an Adobe certified instructor I have spent a lot of time showing people the ins and outs of Adobe's web development software. With this new version of ActionScript, they have made my job a little easier. It's not only faster and offers more compatibility but they have made the language more intuitive, which means we can read and write programs without having to go back to the manual to figure it out.
Expand all | Collapse all
  1. 3m 42s
    1. Welcome
      1m 9s
    2. Using the exercise files
      48s
    3. Overview
      1m 45s
  2. 9m 13s
    1. Understanding ActionScript
      1m 35s
    2. Understanding the Actions panel
      2m 45s
    3. Understanding trace statements
      2m 4s
    4. Working with comments
      2m 49s
  3. 15m 42s
    1. Understanding variables
      1m 50s
    2. Understanding the syntax of variables
      4m 26s
    3. Assigning variable values
      2m 53s
    4. Retrieving variable values
      2m 16s
    5. Working with different data types
      4m 17s
  4. 23m 28s
    1. Understanding functions
      1m 4s
    2. Using functions
      4m 32s
    3. Understanding function syntax
      3m 43s
    4. Understanding parameters
      5m 12s
    5. Returning values
      4m 38s
    6. Using local variables
      4m 19s
  5. 17m 7s
    1. Understanding dot syntax
      6m 43s
    2. Controlling display properties
      2m 44s
    3. Creating objects dynamically
      4m 23s
    4. Controlling nested movie clips
      3m 17s
  6. 22m 49s
    1. Understanding events and event listeners
      1m 14s
    2. Handling mouse clicks
      8m 4s
    3. Handling other mouse events
      4m 48s
    4. Working with keyboard events
      3m 23s
    5. Removing event listeners
      5m 20s
  7. 25m 5s
    1. Understanding conditional statements
      49s
    2. Writing if statements
      5m 22s
    3. Understanding conditional operators
      1m 17s
    4. Writing compound if statements
      3m 34s
    5. Writing else statements
      2m 51s
    6. Writing else-if statements
      2m 27s
    7. Working with switch-case statements
      6m 43s
    8. Detecting collisions
      2m 2s
  8. 47m 46s
    1. Understanding mathematical operators and number data types
      7m 11s
    2. Aligning objects to the edge of the stage
      9m 16s
    3. Aligning to the center
      5m 9s
    4. Using random numbers between 0 and 1
      6m 19s
    5. Using a range of random numbers
      9m 40s
    6. Creating a random-number function
      3m 36s
    7. Creating a tip calculator
      6m 35s
  9. 23m 9s
    1. Creating an array
      3m 8s
    2. Referencing an index in an array
      4m 44s
    3. Using shorthand notation to create arrays
      2m 24s
    4. Finding indexes
      7m 35s
    5. Making a game with a random array index
      5m 18s
  10. 23m 50s
    1. Understanding loops
      1m 13s
    2. Creating for loops
      4m 59s
    3. Using for loops
      4m 6s
    4. Sorting mail with a loop
      7m 46s
    5. Using while loops
      5m 46s
  11. 45m 56s
    1. Understanding classes
      2m 8s
    2. Extending classes
      10m 9s
    3. Understanding methods
      6m 43s
    4. Using properties
      6m 26s
    5. Instantiating classes
      7m 8s
    6. Setting up multiple classes
      6m 46s
    7. Creating packages
      6m 36s
  12. 19m 38s
    1. Loading external text
      6m 46s
    2. Appending text
      2m 55s
    3. Reading HTML
      3m 9s
    4. Styling links with CSS
      6m 48s
  13. 48m 20s
    1. Loading bitmaps
      3m 22s
    2. Loading SWF files
      8m 7s
    3. Creating a preloader
      6m 21s
    4. Loading sound
      3m 34s
    5. Stopping sound
      4m 50s
    6. Controlling volume
      6m 30s
    7. Understanding video
      56s
    8. Loading video
      9m 17s
    9. Controlling video playback
      5m 23s
  14. 45m 33s
    1. Previewing the Calculator application
      1m 4s
    2. Setting up the variables
      4m 54s
    3. Adding event listeners
      6m 39s
    4. Controlling numeric input
      3m 47s
    5. Setting up the Dot and Clear buttons
      4m 13s
    6. Finding the current operation
      3m 55s
    7. Capturing numbers
      4m 30s
    8. Performing calculations
      7m 11s
    9. Creating a calculator class
      9m 20s
  15. 8m 58s
    1. Understanding and fixing errors
      5m 32s
    2. Getting help
      3m 26s
  16. 31s
    1. Goodbye
      31s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
ActionScript 3.0 in Flash CS4 Professional for Designers
6h 20m Intermediate Dec 19, 2008

Viewers: in countries Watching now:

People often see cool web applications like YouTube and wonder how they were created. The answer in many cases is with ActionScript and Flash. ActionScript 3.0 in Flash CS4 for Designers is an introductory course that teaches new designers the building blocks of web programming. Todd Perkins covers the development of web applications from the ground up, starting with basic programming, terminology, and coding syntax. He also covers how to use keyboard controls, mouse actions, and drag-and-drop actions to allow users to interact with the applications. Exercise files accompany the course.

Topics include:
  • Working with loops to show repeated actions
  • Defining functions and variables
  • Handling events and event listeners
  • Using classes to organize code
  • Building arrays to hold lists of information
  • Loading external content from various files
  • Adding images and sound to an application
Subjects:
Developer Web Programming Languages
Software:
ActionScript Flash Professional
Author:
Todd Perkins

Welcome

(Music playing.) Welcome to ActionScript 3.0 in Flash CS4 for Designers. I am Todd Perkins. As an Adobe certified instructor I have spent a lot of time showing people the ins and outs of Adobe's web development software. With this new version of ActionScript, they have made my job a little easier. It's not only faster and offers more compatibility but they have made the language more intuitive, which means we can read and write programs without having to go back to the manual to figure it out.

In this course, I will show you how to get the most out of the marriage of ActionScript and Flash. You'll get a solid foundation on the fundamentals and you will see how to work with variables, understand and use functions, work with display objects, handle events, create loops and arrays, loading media, and manipulating text. Yes, it sounds like a lot but I will be walking you through it step by step, so by the time you are done, you will be comfortable using ActionScript to enhance your Flash applications. Now let's start loading ActionScript 3.0 in Flash CS4 for Designers.

Find answers to the most frequently asked questions about ActionScript 3.0 in Flash CS4 Professional for Designers.


Expand all | Collapse all
please wait ...
Q: After creating a preloader as shown in the "Creating a preloader" movie, an error message reading "Error #1009: Cannot access a property or method of a null object reference" appears when the preloader is placed in the timeline. How can this issue be resolved?
A: There is most likely a typo in the code. Unfortunately, Error 1009 is the most vague error in Flash and means the code trying to reference an object that doesn't exist (hence the likeliness of a typo). The best fix is to go through the code one character at a time to make sure everything is correct.
 
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.
Upgrade now


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 Upgrade now

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

Congratulations

You have completed ActionScript 3.0 in Flash CS4 Professional for Designers.

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


OK
Become a member to add this course to a playlist

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

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

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:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
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.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com 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 lynda.com.

Sign up and receive emails about lynda.com 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.