You had probably seen many of the web sites
with flash content that said “Please wait, loading…” This
is the preloader, which is an indicator that tells the visitor
that the flash content is loading, instead of seeing a blank
screen causing confusion to the visitors.
This tutorial will cover two of the action scripts that
are required in the making of a preloader. They are:
What do they mean?
.getBytesLoaded () : Tells how many bytes you had download
on the movie.
.getBytesTotal () : Tells how big the movie is.
Let’s start our percentage preloader: