Re: [flexcoders] Re: Getting ByteArray.uncompress() to work in Flash - looking for an example tex

2009-03-02 Thread David Adams
On Mon, Mar 2, 2009 at 5:13 PM, Bjorn Schultheiss
bjorn.mailingli...@gmail.com wrote:
 ASCompress supports GZIP
 http://code.google.com/p/ascompress/

Thanks very much for the link, I've downloaded the code to experiment with.

I have now managed to sort out that my server-side encoder is adding 5
bytes in front of the zipped data that chokes Flex, so that's a help
as well. I can always pull those bytes off before transfer, if
necessary.

Thanks again.


[flexcoders] Re: Getting ByteArray.uncompress() to work in Flash - looking for an example tex

2009-03-01 Thread Bjorn Schultheiss
ASCompress supports GZIP
http://code.google.com/p/ascompress/

--- In flexcoders@yahoogroups.com, David Adams dpad...@... wrote:

 On Sun, Mar 1, 2009 at 9:06 PM, Cato Paus ca...@... wrote:
  go here
  http://onrails.org/articles/2007/11/27/flash-utils-bytearray-compressing-4-1mb-
to-20k
 
 Thanks for the link! I couldn't get the AIR app to compile, but
 realized it pointed out an obvious strategy: use Flash to
 encode/decode the test string. I've got that going now so I can sort
 out a byte comparison with my server-side encoder's.
 
 I also found an old bug report that indicates that Flash only
 understands 'zlib' and does not understand deflate, at the moment.
 That's a bit of a help but 'zlib' covers a bit of ground, as far as I
 can tell (?)
 
 Thanks again.