[osflash] AS3 File Zip & Unzip utility
Bob Ippolito
bob at redivi.com
Thu Aug 3 18:09:23 EDT 2006
On Aug 3, 2006, at 1:55 PM, jim wrote:
> Does anyone know if it would be possible to zip & unzip files
> directly in
> Actionscript 3? I am looking for a way to reduce download sizes of
> assets
> loaded at runtime.
>
> I have had a quick hunt on sourceforge & codeprojct but before I
> dig into it
> any further I was hoping someone else might have had a similar idea
> and know
> of an open source zipping utility that I could look at porting the
> code
> from.
What kind of assets are you talking about? Compression isn't going to
do anything for you with SWF, PNG, JPEG, MP3, GIF, FLV. Text is all
you're really going to be able to compress. Even that may already be
compressed by HTTP if the server and the browser are configured and
able to do so.
If you really do have a use case for text compression, search for
zlib as3.
-bob
More information about the osflash
mailing list