[osflash] "splitting" the load percentage feedback in different stages

Marcelo de Moraes Serpa celoserpa at gmail.com
Sat Jul 1 07:29:37 EDT 2006


@David: Thanks for the enlightment! This was just what I needed... as you
said - some basic algebra, but with deadlines pressures it´s often hard to
think clearly, specially on subjects you don´t master, that´s my case with
math... I´m doing my best to overcome this limitation though =)

@Zárate: I guess I can easily adapt the code to show the % of the bytes
loaded :) And yes, this msg would fit better in the flashcoders list... I
will keep this in mind on my next posts!

Cheers,

Marcelo.

On 7/1/06, Zárate <zzzarate at gmail.com> wrote:
>
> Hi,
>
> David, I think you´re assuming there that all the swfs are the same
> weight, so you would be displaying the % of swfs loaded but NO the %
> of bytes loaded. Maybe that´s not a problem, though.
>
> Bye!
>
> Juan
>
> ps: I think this is kinda OT here, wouldn´t fit better in FlashCoders?
>
> On 7/1/06, David Rorex <drorex at gmail.com> wrote:
> > You can use this formula to get an overall percentage:
> > totalPercentDone = (swfsDone / totalSwfs) + (currentSwfPercentDone /
> totalSwfs)
> >
> > to find the current star to be showing:
> > currentStar = round(totalPercentDone * numberOfStars);
> >
> > to find the percent of the current star to be animating:
> > currentStarPercent = (totalPercentDone - (currentStar/totalStars)) *
> totalStars;
> >
> > Just some basic algebra, really. I hope i've understood your question
> correctly.
> >
> > hope this helps,
> > David R
> >
> > On 6/30/06, Marcelo de Moraes Serpa <celoserpa at gmail.com> wrote:
> > > Hello list,
> > >
> > > I´m redesigning my RIA´s preloader. The graphic´s artist came with a
> nice
> > > idea, but with this idea came the difficulties, let me try to explain
> it
> > > better:
> > >
> > > I have several SWF´s that I have to load in the main preloader as well
> as
> > > the ApplicationForm.swf. The artist thought in "splitting" the load
> percent
> > > feedback in differnet parts - in the different stars (see the
> screenshot).
> > > I would need to somehow totalize the swf´s download percentage and
> only show
> > > 0-20% on the first star, 20%-40% on the star and so on...I want all
> the
> > > swf´s download percentage to be treated as if it was only one... and
> to show
> > > the feedback in "parts"... the problem is that I really don´t how how
> could
> > > I do that. I´m currently using pixlib LibStack to load my swf
> libraries.
> > >
> > > You can see a screenshot here:
> > > http://chapeco-online.com.br/flash.JPG, and hopefully you
> > > will get a better idea on what I want to do ;)
> > >
> > > Thanks,
> > >
> > > Marcelo.
> > >
> > > _______________________________________________
> > > osflash mailing list
> > > osflash at osflash.org
> > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> > >
> > >
> > >
> >
> > _______________________________________________
> > osflash mailing list
> > osflash at osflash.org
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
>
>
> --
> Juan Delgado - Zárate
> http://www.zarate.tv
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20060701/f8a1c743/attachment.htm


More information about the osflash mailing list