SWF Compress Bug 2 - MC.getBytesTotal()

It appears that the Flash MX SWF GZLib compression also causes problems for the Movieclip.getBytesTotal() method which is supposed to return the total download size of a movieclip. In the case of the movieclip being an external compressed .swf file, the method returns the uncompressed filesize as opposed to the compressed filesize, which isnt very useful when trying to create accurate preloaders. Try it for yourself.

Comments are closed.