<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AS3 port of JZLib</title>
	<atom:link href="http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/</link>
	<description>Technology and stuff, you know.</description>
	<lastBuildDate>Thu, 04 Mar 2010 19:34:36 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: shaning</title>
		<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/comment-page-1/#comment-10151</link>
		<dc:creator>shaning</dc:creator>
		<pubDate>Thu, 04 Mar 2010 19:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.wirelust.com/?p=223#comment-10151</guid>
		<description>Problems solved.  I created   Related code is below:

private var JData:ByteArray;
...
var dobj:Object;
dobj = JSON.decode(JData.readUTFBytes(JData.bytesAvailable));</description>
		<content:encoded><![CDATA[<p>Problems solved.  I created   Related code is below:</p>
<p>private var JData:ByteArray;<br />
&#8230;<br />
var dobj:Object;<br />
dobj = JSON.decode(JData.readUTFBytes(JData.bytesAvailable));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaning</title>
		<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/comment-page-1/#comment-10141</link>
		<dc:creator>shaning</dc:creator>
		<pubDate>Thu, 04 Mar 2010 16:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.wirelust.com/?p=223#comment-10141</guid>
		<description>I used the code, it is helpful.  I have one more Q:  The file is textfile, how can I load its content into a string?  Thanks.</description>
		<content:encoded><![CDATA[<p>I used the code, it is helpful.  I have one more Q:  The file is textfile, how can I load its content into a string?  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tea</title>
		<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/comment-page-1/#comment-10137</link>
		<dc:creator>Tea</dc:creator>
		<pubDate>Thu, 04 Mar 2010 15:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.wirelust.com/?p=223#comment-10137</guid>
		<description>I have no idea what you are trying to do since you didn&#039;t post any code that you are having issues with.  URLLoader is well documented by adobe and I suggest you look up its capabilities on google.
Here is an example of uncompressing and loading a text file:

public class fzip extends Sprite
{
	private var zip:FZip;
	
	public function fzip()
	{
		zip = new FZip();
		zip.addEventListener(Event.COMPLETE, onComplete);
		zip.load(new URLRequest(&quot;20100129.zip&quot;));
	}
	
	private function onComplete(e:Event):void 
	{
		trace(&quot;zip complete&quot;);
		
		var file:FZipFile = zip.getFileAt(0);
		
		trace(file.getContentAsString(true));
	}
}</description>
		<content:encoded><![CDATA[<p>I have no idea what you are trying to do since you didn&#8217;t post any code that you are having issues with.  URLLoader is well documented by adobe and I suggest you look up its capabilities on google.<br />
Here is an example of uncompressing and loading a text file:</p>
<p>public class fzip extends Sprite<br />
{<br />
	private var zip:FZip;</p>
<p>	public function fzip()<br />
	{<br />
		zip = new FZip();<br />
		zip.addEventListener(Event.COMPLETE, onComplete);<br />
		zip.load(new URLRequest(&#8220;20100129.zip&#8221;));<br />
	}</p>
<p>	private function onComplete(e:Event):void<br />
	{<br />
		trace(&#8220;zip complete&#8221;);</p>
<p>		var file:FZipFile = zip.getFileAt(0);</p>
<p>		trace(file.getContentAsString(true));<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaning</title>
		<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/comment-page-1/#comment-10136</link>
		<dc:creator>shaning</dc:creator>
		<pubDate>Thu, 04 Mar 2010 15:12:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.wirelust.com/?p=223#comment-10136</guid>
		<description>Is it true for the following statements:
1)  flash.net.URLLoader does not support to load a file in zip.
2)  flash.display.Loader does not support to load a textfile.
Thanks if you can share your experience.</description>
		<content:encoded><![CDATA[<p>Is it true for the following statements:<br />
1)  flash.net.URLLoader does not support to load a file in zip.<br />
2)  flash.display.Loader does not support to load a textfile.<br />
Thanks if you can share your experience.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaning</title>
		<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/comment-page-1/#comment-10131</link>
		<dc:creator>shaning</dc:creator>
		<pubDate>Thu, 04 Mar 2010 14:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.wirelust.com/?p=223#comment-10131</guid>
		<description>Question:  can flash.display.Loader be used to load a textfile in a zip?  I got 
Error #2124: Loaded file is an unknown type.</description>
		<content:encoded><![CDATA[<p>Question:  can flash.display.Loader be used to load a textfile in a zip?  I got<br />
Error #2124: Loaded file is an unknown type.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaning</title>
		<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/comment-page-1/#comment-10105</link>
		<dc:creator>shaning</dc:creator>
		<pubDate>Wed, 03 Mar 2010 20:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.wirelust.com/?p=223#comment-10105</guid>
		<description>I tried to unzip a folder; states.zip, which contains 5 dozens of txt file.  

public function FZipTest() {
	zip = new FZip();
	zip.addEventListener(Event.OPEN, onOpen);
	zip.addEventListener(Event.COMPLETE, onComplete);
	zip.load(new URLRequest(\states.zip\));  // in the same directory of this file&#039;s swf
}

However, I got such an error:

Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.
Can anyone hint me where the file type should be defined?  Thanks.</description>
		<content:encoded><![CDATA[<p>I tried to unzip a folder; states.zip, which contains 5 dozens of txt file.  </p>
<p>public function FZipTest() {<br />
	zip = new FZip();<br />
	zip.addEventListener(Event.OPEN, onOpen);<br />
	zip.addEventListener(Event.COMPLETE, onComplete);<br />
	zip.load(new URLRequest(\states.zip\));  // in the same directory of this file&#8217;s swf<br />
}</p>
<p>However, I got such an error:</p>
<p>Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.<br />
Can anyone hint me where the file type should be defined?  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaning</title>
		<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/comment-page-1/#comment-10103</link>
		<dc:creator>shaning</dc:creator>
		<pubDate>Wed, 03 Mar 2010 20:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.wirelust.com/?p=223#comment-10103</guid>
		<description>Got an error at 
while(d_stream.total_in &lt;= _content.length &amp;&amp; i&lt;=_content.length*4)

where i is undefined.  I guess var i:int should defined somewhere in the source code.  Could someone help for this issue?  Thanks.</description>
		<content:encoded><![CDATA[<p>Got an error at<br />
while(d_stream.total_in &lt;= _content.length &amp;&amp; i&lt;=_content.length*4)</p>
<p>where i is undefined.  I guess var i:int should defined somewhere in the source code.  Could someone help for this issue?  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tea</title>
		<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/comment-page-1/#comment-10102</link>
		<dc:creator>Tea</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.wirelust.com/?p=223#comment-10102</guid>
		<description>I updated the link to the zip with the latest copy from subversion.  Cast should be in there. &lt;a href=&quot;http://www.wirelust.com/examples/fzip_as3zlib/as3zlib_snapshot_20100303.zip&quot; rel=&quot;nofollow&quot;&gt;as3zlib_snapshot_20100303.zip&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I updated the link to the zip with the latest copy from subversion.  Cast should be in there. <a href="http://www.wirelust.com/examples/fzip_as3zlib/as3zlib_snapshot_20100303.zip" rel="nofollow">as3zlib_snapshot_20100303.zip</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaning</title>
		<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/comment-page-1/#comment-10101</link>
		<dc:creator>shaning</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.wirelust.com/?p=223#comment-10101</guid>
		<description>Got it already.  Never mind.  Thanks.</description>
		<content:encoded><![CDATA[<p>Got it already.  Never mind.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaning</title>
		<link>http://www.wirelust.com/2009/06/08/as3-port-of-jzlib/comment-page-1/#comment-10100</link>
		<dc:creator>shaning</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.wirelust.com/?p=223#comment-10100</guid>
		<description>New problem if anyone can help:
Can&#039;t find com.wirelust.util.Cast
In the downloaded zip, there is no com/wirelust/util
If it is a simple as file or a a bundle of files, could you email me at mrgis08@yahoo.com?  Thanks.</description>
		<content:encoded><![CDATA[<p>New problem if anyone can help:<br />
Can&#8217;t find com.wirelust.util.Cast<br />
In the downloaded zip, there is no com/wirelust/util<br />
If it is a simple as file or a a bundle of files, could you email me at <a href="mailto:mrgis08@yahoo.com">mrgis08@yahoo.com</a>?  Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
