6. Creating Preloaders in ActionScript 3.0

Lesson overview

In this lesson, you will learn to do the following:

• Check your Flash files to determine whether you need to use a preloader.

• Use the testing and simulation tools in Flash to experience your projects at different connection speeds.

• Use the PROGRESS event and methods of the UILoader class to track the progress of loading media.

• Use the ProgressBar component to give the user feedback on loading media.

• Calculate the percentage of requested content that has loaded, and display that percentage in a text field for the user.

• Use the COMPLETE event to hide the preloader and display content when it is completely loaded.

• Use the percentage of a file that is loaded to trigger the ...

Get ActionScript 3.0 for Adobe Flash Professional CS5 Classroom in a Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.