all groups > flash actionscript > september 2004 >
You're in the

flash actionscript

group:

Loading Progress Bar


Loading Progress Bar meeesta
9/11/2004 1:48:16 PM
flash actionscript: Hello.

I've query that is probably very easy to do but being a bit of Homer Simpson I
can't get me head round it.

I can do loading bars fine.. progress bars whatever... what I can't do is
section up the loading bar.

How do they do those bars that load all graphics (maybe even show the ones
loading), then it'll have another bar for sounds...(again maybe even display
the names on screen). So basically it's like seeing a progress bar for the
different elements of a site.. vector graphics, bitmaps, etc.

I saw it on a site that I just can't find the URL of... How is done? Loading
individual movies into a root movie? Or is it someone says 30% is graphics,
40% is sound, 14% is video, 1% is scripting, putting them all together in
groups to be loaded sequentially and doing a bit of maths with the overall
percentage to resemble 4 seperate loading bars?

Can it be done? Or have I been taken in and it's just a mocked up thing to add
interest whilst loading?

Many thanks for time.

Meeesta
Re: Loading Progress Bar speedlab1
9/11/2004 8:11:30 PM
sometimes those preloaders are just a gimmick, it's not actually loading
graphics, then sounds, then xml blah blah blah.

you could do this if you were loading multiple swfs by building a chain
preloader.
do a loop that iterates through an array of swfs you want to load. preload
whatever is in index 0 of the array, when it's loaded, clear the preloader,
increase a counter to go to the next index in the array and fire the preloader
again.
AddThis Social Bookmark Button