Hi.. I need to do something like this:
var byteArr1:ByteArray = new ByteArray();
var byteArr2:ByteArray = new ByteArray();
byteArr.writeUTFBytes("Hello Word");
byteArr.compress();
byteArr2.writeUTFBytes(byteArr.toString());
byteArr2.uncompress();
message: String = byteArr2.toString();
But it's not work. I need to compress a String and send to another
ByteArray in another control.
Any help?
Is there other way to compress a String in AS3?
thanks
Gustavo (Brazil)
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/