 		{
 			data.position = 0;
 			var uncompressed:ByteArray = new ByteArray();
+			var outBytesLength:int = data.length * 2;
+			
 			var err:int;
 			var i:int = 0;
 			var j:int = 0;

			
			trace("Zlib.compress. compressed.length: " + compressed.length);
			trace("Zlib.compress. compressed: " + compressed.toString());
			
			return compressed;
		}
		

	public class Zlib implements ICompressor
	{
		/**
		 * Uncompress (inflate) the given ByteArray.
		 *
		 * @param	data
		 * @return Uncompressed data
