|
Tom, if ( Browser supports GZIP compression && HTTP Server
supports GZIP compression ) { Flash Player will receive decompressed
HTTP data using any HTTP based service! } This applies to all HTTP/HTTPS based data transfer. Basically
the browser has the capability to decode GZIP before data is presented to the
player.
Also most do not realize that AMF serialization and
deserialization are also added directly into ByteArray. You can read and write
AMF this easily. import flash.utils.ByteArray; //writing to ByteArray var byteObj:ByteArray = new ByteArray(); byteObj.writeObject( new Array( "Hello", 2, 3,
4, 5 ) ); trace( byteObj.length ) byteObj.writeObject( "Hello Write Byte World" );
// reading ByteArray byteObj.position = 0 trace( byteObj.readObject() ); trace( byteObj.readObject() ); It’s a brand new world folks! Have fun with direct
AMF data access within Flash Player 9!!!! Network transfer of AMF data is orthogonal
to de/serialization in Flash Player 9. That is a major league change. Take a
deeper look at ByteArray there is a ton of real value in this class. It is Mega-Mega-Useful!!!! Cheers, Ted Patrick Flex Evangelist Adobe Systems Incorporated From: Very useful – So, for clarification, under what circumstances will the browser
handle decompression of HTTP Compressed data, and when is it necessary to use
ByteArray.compress/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |

