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: Pablo Rodríguez
Subject: Re: [Swftools-common] help with a counting loader
Date: Sun, 01 Mar 2009 14:15:47 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090114)

Chris Pugh wrote:
2009/2/28 Pablo Rodríguez:
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.

Many thanks for your reply and sorry for my inaccurate reply.

Both preloader loader (lessig-freeculture-loader.swf) and presentation (lessig-freeculture-loader.swf) are uploaded at http://www.archive.org/download/Lessig-Free_Culture/.

The presentation is a 6.4MB file generated by swfc. It has been generated with compression. The preloader loads the presentation, but when getting the bytes loaded and the total bytes, it counts the bytes as the presentation were uncompressed (so it gives a higher file size: 8.7MB).

It seems that this is an ActionScript “feature”. Is there any way to get the actual number of bytes loaded and to be loaded, that is, the bytes in compressed format?

I hope I have explained myself in a more accurate way.

Thanks for your help,


Pablo




reply via email to

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