Here's a good solution that is used by many installer applications out
there.
Take the number of items you are loading and divide your progress bar
into that many sections. Then, show the progress of each of those
sections.
Let's say you were loading 10 files. That means you're breaking up
Of Andreas Rønning
Sent: 22 February 2006 02:41
To: Flashcoders mailing list
Subject: Re: [Flashcoders] preloading multiple swfs with moviecliploader
Wouldn't you just loop through an array of moviecliploaders and check if
they were all finished? Or have every onLoadInit call a function that
increments
Well, presuming you're speaking of on-line delivery, you're kind of at the
mercy of the browser on that one, as most browsers have a physicial limit
of 4 simultaneous connections (download streams), though I think some
versions on the Mac allow up to 7, such that any quantity of files greater
than
If you need to preload 12 files, you can do it sequentially with only
one progress bar.
Each loading progress needs to update 1/12 portion of the progress bar
with a formula like this:
currentPercent = currentMovie.getBytesLoaded() /
currentMovie.getBytesTotal();
totalPercent = (loadedFiles
Been playing with this myself for a while, this isn't tested much but I
think its what you want. If you need a bit more help call.
Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Randy
Tinfow
Sent: 21 February 2006 16:43
To:
Sorry, didn't put the link in
http://www.codesortium.com/demo/loader.zip
Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jim
Sent: 21 February 2006 23:13
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] preloading multiple swfs
6 matches
Mail list logo