3 Replies Latest reply on Feb 29, 2008 4:32 PM by kokot-san

    ByteArray decompression error

    rccampbe
      According to the ActionScript 3.0 API, the ByteArray uncompress method will uncompress any zlib compressed data (select ByteArray from the nav bar on the left). But I get an error trying to uncompress when I use data that was zlib compressed, but not by the ByteArray compress method (data coming in over a socket).

      With a little more searching, I found a slightly different Flex 2 API, which states that the uncompress method will only work with data compressed by the compress method.

      So the question is, can I decompress ANY zlib compressed data or just flash's compressed data?