Troy Gilbert wrote: > Using server-base gzip compression is probably the best route, but I > don't know if Flex's user agent that pulls the data (WebService, I > guess) if it supports gzip'd streams.
The Flash Player should handle compression over HTTP transparently. > If it doesn't, you can do it manually with the ByteArray class. It has a > compress and uncompress pair of methods that implement gzip compression. The Flash Player implements DEFLATE compression (which is used by gzip, pkzip and zlib), but can't natively uncompress gzip because it expects an ADLER32 checksum (over the uncompressed data). The gzip format uses a CRC32 checksum though (as does pkzip). So if you want to uncompress gzip or pkzip compressed files you need to find a way to inject ADLER32 checksums. Both FZip [1] and FAR [2] provide simple tools that do that for you, and AS3 classes to uncompress files from pkzipped archives. [1] http://codeazur.com.br/lab/fzip/ [2] http://www.vanrijkom.org/archives/2007/02/far_flasharchiv.html -- claus wahlers cĂ´deazur brasil http://codeazur.com.br/ http://wahlers.com.br/claus/blog/ -- READ CAREFULLY. By reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

