swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] help with a counting loader


From: Chris Pugh
Subject: Re: [Swftools-common] help with a counting loader
Date: Sun, 1 Mar 2009 11:18:19 +0000

2009/2/28 Pablo Rodríguez <address@hidden>:
>> Try loading it as a separate movie ( sprite ), then use the 'Interval'
>> event timer to check the load progress of the other movie.  It may
>> well be worth doing the calculation and the conversion
>> to a text string for display separately too, since..
>
> MovieLoader.loadClip() includes an onLoadProgress handler that allows to do
> what I was trying to.

Jolly good.

> To include the load_text variable that was inside the onLoadProgress
> handler, I had to rename it to _root.load_text (new script below,
> http://www.archive.org/download/Lessig-Free_Culture/lessig-freeculture-loader.swf).

Ditto.

> But I still have an issue with this loader. All getBytesLoaded and
> getBytesTotal are counted with uncompressed sizes and since the actual file
> is compressed, these size numbers are wrong. Is there any way to get the
> actual compressed bytes with getBytesLoaded?

Maybe the loader has an issue with you?!  ;o)  What compressed file?  Please
elucidate.

Regards,



Chris.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]