ActionScript GZIP compression library

This is an ActionScript library for encoding (compressing and uncompressing) files using the GZIP compressed file format. The source code for the ActionScript GZIP encoding library is hosted on Google Code; the code is available under the Mozilla Public License, v. 1.1.

Where it’s been used:

You can leave a comment, or trackback from your own site.

6 Comments so far


  1. Danny Patterson is reported to have said:

    links from TechnoratiSince I actually needed to get at the raw binary gzip data returned by the server, I had to change my code to use the low-level URLLoader class that is built-in to Flash Player. To remove the GZIP header returned in the HTTP response data, I used anopen-source library


  2. Central Standard Tech is reported to have said:

    links from TechnoratiSince I actually needed to get at the raw binary GZIP data returned by the server, I had to change my code to use the low-level URLLoader class that is built-in to Flash Player. To remove the GZIP header returned in the HTTP response data, I used anopen-source librarycreated by Paul Robertson. The library works with GZIP files in AIR, but I was able to slightly modifie it to work directly with the ByteArray data.


  3. Adobe - Developer Center : Compressing files and data is reported to have said:

    Kramer auto Pingback[…] These files are from the open-source ActionScript GZIP compression library written by H. Paul […]


  4. Extending the Flex HTTP Service to Support Binary Data is reported to have said:

    Kramer auto Pingback[…] this particular case, we pass the binary data to Paul Robertson’s excellent GZIPEncoder3 and decode it to obtain the actual result and then pass it on to HTTPService’s processResult so […]


  5. Alex is reported to have said:

    Hi Paul,

    I was pretty excited to find your GZIP library and was going to use it in my project. But then I discovered that it doesn’t work with Flex. Flex’s implementation of ByteArray.compress() is different than AIR’s and supports only default zlib compression. Any idea why are they different? Will Flex ever support gzip?

    Thanks,
    Alex


  6. Paul is reported to have said:

    @Alex:

    Just to clarify, the library does work with Flex (I’ve only ever used it with Flex) as long as your Flex app runs in AIR. However, the library doesn’t work in Flash Player 9, so it doesn’t work in a Flex app that runs in the browser (or a non-Flex app that runs in the browser, for that matter).

    The additional functionality (compression using the Deflate algorithm rather than zlib) was added in AIR — as you’ve noted, Flash Player only supports zlib.

    The good news is that the functionality that was added in AIR has been rolled back into Flash Player for the next release (Flash Player “Astro”), which is currently available as a public beta. I haven’t updated the library to support that new functionality, obviously, but I plan to do so soon.

Add your comment





Comment notes

Please keep comments on topic. Comments that are inappropriate or offensive will be edited or removed.

Paragraphs and line breaks are automatically converted to HTML, and quotation marks are converted to “smart” quotes.

The following XHTML tags can be used: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> . All others will be removed.

Articles by Type

Articles by Topic

Random Reading

Currently...

Subscribe