Re: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread Mick G
work so that the bar doesn't start from 0 at every image. Any other idea? > > Sascha > > > > > > - Original Message - > From: "Adrian Park" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" > Sent: Sunday, March 12, 2

RE: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread Kevin Aebig
, !k -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Balkau Sent: Sunday, March 12, 2006 3:07 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Loading several images with one progressbar? Hi Adrian, thanks for the idea but this approach

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread dk
> thanks for the idea but this approach will not work in my case because the > images are loaded sequencially. If one image is finished loading, my class > starts loading the next and so on, one after one. And the amount of images > varies (the image filenames are fetched from a XML file). put the

RE: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread Ryan Potter
ount of images > varies (the image filenames are fetched from a XML file). > I'm now defining a segmentWidth by dividing the full progressbar width by > the amount of images that are going to be loaded. That gives me the 100% > for > one image on the whol bar. I just haven't

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread Adrian Park
o make it > work so that the bar doesn't start from 0 at every image. Any other idea? > > Sascha > > > > > > - Original Message - > From: "Adrian Park" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" > Sent: Sunday, M

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread Adrian Park
t; > for > > one image on the whol bar. I just haven't figured out yet how to make it > > work so that the bar doesn't start from 0 at every image. Any other > > idea? > > > > Sascha > > > > > > > > > > > > ---

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread Janis Radins
; <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" > Sent: Sunday, March 12, 2006 3:24 AM > Subject: Re: [Flashcoders] Loading several images with one progressbar? > > > Say you have 3 images loading, use something like this: > > var bytesLoaded:Numb

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread Adrian Park
ading the next and so on, one after one. And the amount of > > > images > > > varies (the image filenames are fetched from a XML file). > > > I'm now defining a segmentWidth by dividing the full progressbar width > > > by > > > the amount of images that are going

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread Latcho
to make it work so that the bar doesn't start from 0 at every image. Any other idea? Sascha - Original Message - From: "Adrian Park" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Sunday, March 12, 2006 3:24 AM Subject: Re: [Flashcoders] Loadi

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread J-P Vieresjoki
L PROTECTED]> To: "Flashcoders mailing list" Sent: Sunday, March 12, 2006 3:24 AM Subject: Re: [Flashcoders] Loading several images with one progressbar? Say you have 3 images loading, use something like this: var bytesLoaded:Number = 0; var bytesTotal:Number = 0; bytesLoaded += ima

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-14 Thread Joshua Buhler
CTED]> To: "Flashcoders mailing list" Sent: Sunday, March 12, 2006 3:24 AM Subject: Re: [Flashcoders] Loading several images with one progressbar? Say you have 3 images loading, use something like this: var bytesLoaded:Number = 0; var bytesTotal:Number = 0; bytesLoaded += ima

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-12 Thread Sascha Balkau
Any other idea? Sascha - Original Message - From: "Adrian Park" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Sunday, March 12, 2006 3:24 AM Subject: Re: [Flashcoders] Loading several images with one progressbar? Say you have 3 imag

Re: [Flashcoders] Loading several images with one progressbar?

2006-03-11 Thread Adrian Park
Say you have 3 images loading, use something like this: var bytesLoaded:Number = 0; var bytesTotal:Number = 0; bytesLoaded += image1.getBytesLoaded(); bytesTotal += image1.getBytesTotal(); bytesLoaded += image2.getBytesLoaded(); bytesTotal += image2.getBytesTotal(); bytesLoaded += image3.getBytes

[Flashcoders] Loading several images with one progressbar?

2006-03-11 Thread Sascha Balkau
Hi, this is probably an old hat but I can't get it right. I want to display the load progress of several images with one progress bar. How do I calculate the percentage of the bar? Thanks alot, Sascha ___ Flashcoders@chattyfig.figleaf.com To change