On Fri, Feb 27, 2009 at 12:42 PM, ACasualObserver <[email protected]> wrote: > Jim, > > I am using the zlib in a C program.
Just as an experiment, have you tried putting the code into an AIR application where you can specify a wider range of decompression methods? I'm struggling with the same error you've described using a zlib compressor. I've found that I _can_ decompress the ByteArray in an AIR app with code like the following, where ba contains my zipped data: ba.uncompress(CompressionAlgorithm.DEFLATE) I actually find this a bit confusing as my understanding is that Flex handles deflate...so I'm unclear what I'm doing/not doing in Flex that makes the compression fail. I've really got the same code - apart from the CompressionAlgorithm argument. Anyway, it's something else for you to try...not that I know what the results mean ;-) Perhaps someone else can offer a suggestion as to what this particular finding means. (I'm new to Flex.) For background, what I'm trying to experiment with is compressing XML on the server-side and decompressing it on the client-side to see if I can improve performance. If anyone has thoughts or suggestions on this topic, I'm all ears. (AMF is not supported on the server I'm using, so AMF-over-HTTP is not an option.) --------------------------------------------- David Adams [email protected] AU: (02) 6493-3250 US: 831 621-4585 Wallaga Lake 2546 NSW ---------------------------------------------

