Flash Team

Just another flash weblog

FZlib: Zlib in pure ActionScript

with 2 comments

FZlib is a port of Zlib 1.1.3 in ActionScript.

zlib is designed to be a free, general-purpose, legally unencumbered — that is, not covered by any patents — lossless data-compression library

Flash provides some ways to compress / uncompress data, but functions are basic. You can’t change the compression method, for instance, or handle a Zlib stream.

With FZlib, all the power of zlib could be unleashed in ActionScript!

FZlib features

  • No need to say that FZlib can inflate data, which is deflated by zlib (or ByteArray.compress()) and FZlib can generate deflated data, which is acceptable and is inflated by zlib (or ByteArray.uncompress()).
  • FZlib supports every compression level and every flushing mode in zlib.
  • FZlib does not support gzip file handling.
  • FZlib is licensed under BSD style license
  • No breakthrough has been done by developing FZlib. So, if zlib is patent free, FZlib is also not covered by any patents.

Grab it here.


Written by TwoFace

February 16, 2010 at 19:27

Posted in as3

2 Responses

Subscribe to comments with RSS.

  1. great info, thanks
    it’s seems like last stable release is one an a half years old


    February 27, 2010 at 17:28

    • No problem 🙂
      Yep its seems that release is old. I haven’t tried it yet so can’t say a thing about it. But its good to know about such lib, it may be helpful in future 🙂


      March 1, 2010 at 12:18

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: