MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Manual page 625

Learning actionscript 2.0 in flash
Table of Contents

Advertisement

For information on creating progress bars to load media files, see the following topics:
"Creating a progress animation for loading SWF and image files" on page 625
"Creating a progress bar for loading MP3 files with ActionScript" on page 627
"Creating a progress bar for loading FLV files with ActionScript" on page 630
You can find a sample source file that uses scripted animation to create a progress bar
animation. Find tweenProgress.fla in the Samples folder on your hard disk:
In Windows, browse to boot drive\Program Files\Macromedia\Flash 8\Samples and
Tutorials\Samples\ActionScript\Tween ProgressBar.
On the Macintosh, browse to Macintosh HD/Applications/Macromedia Flash 8/Samples
and Tutorials/Samples/ActionScript/Tween ProgressBar.
Creating a progress animation for loading SWF and
image files
When you load large SWF or image files into an application, you might want to create an
animation that shows the loading progress. You might create a progress bar that shows
increases as the animation loads. You might also create an animation that changes as the file
loads. For information on loading SWF and image files, see
image files" on page
593.
The following example shows how to use the MovieClipLoader class and the Drawing API to
show the loading progress of an image file.
To create a progress bar for loading image or SWF files:
1.
Create a new Flash document called loadImage.fla.
2.
Select Modify > Document, and type 700 into the width text box and 500 into the height
text box to change the document's dimensions.
"Loading external SWF and
About creating progress animations for media files
625

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents