I have been spinning cycles trying to get the uncompress function of 
ByteArray to process a zipped xml string that I am sending from a 
custom web server.  I have read up on the process and understand that 
Flex ByteArrays support zlib compression and I believe they expect to 
find an Adler checksum within the zipped string as well.

Problem is that there are 31 flavors of compression to choose from 
server side and I can not get any to match what Flex ByteArray 
decompress expects???

For example, there are these options of compession within zlib...

  CompressionLevel = (
    zcNone,
    zcFastest,                
    zcDefault,
    zcMax,
    zcLevel1,
    zcLevel2,
    zcLevel3,
    zcLevel4,
    zcLevel5,
    zcLevel6,
    zcLevel7,
    zcLevel8,
    zcLevel9
  );

  Strategy = (
    zsDefault,
    zsFiltered,
    zsHuffman,
    zsRLE,
    zsFixed
  );

~

The ultimate goal here is to grab 5mb xml files that are first 
zipped, then encrypted that have been cached on the server.  I have 
flex unencrypting data successfully, but I can not get Flex to 
recognize and unzip any flavor of Zip that I send to it.

Any thoughts?

Thanks

Matthew



Reply via email to