@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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
> > [email protected]
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
> >
> >
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
--
Juan Delgado - Zárate
http://www.zarate.tv
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
