<?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: Loading in local external assets into an Air app</title>
	<atom:link href="http://blog.erikphansen.com/loading-in-local-external-assets-into-an-air-app/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.erikphansen.com/loading-in-local-external-assets-into-an-air-app</link>
	<description>ActionScript. Photography. Design. And track and field?</description>
	<lastBuildDate>Wed, 28 Jul 2010 11:51:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: shammi</title>
		<link>http://blog.erikphansen.com/loading-in-local-external-assets-into-an-air-app/comment-page-1#comment-709</link>
		<dc:creator>shammi</dc:creator>
		<pubDate>Tue, 20 Jul 2010 15:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.erikphansen.com/loading-in-local-external-images-into-an-air-app#comment-709</guid>
		<description>&lt;p&gt;Hi. nice for u to share. can i use this for swf files.&lt;/p&gt;

&lt;p&gt;var file:File = File.documentsDirectory.resolvePath(&quot;air_app_assets/newfile.swf&quot;);
var fileStream:FileStream = new FileStream();
fileStream.open(file, FileMode.READ);
 var swfloader: Loader= new Loader 
swfloader. LoadBytes(fileStream.readUTFBytes(fileStream.bytesAvailable)); 
fileStream.close();
u think it will load. and if this parent swf futher loads child files or iamges files from that same directory(assets directory) will it work&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi. nice for u to share. can i use this for swf files.</p>

<p>var file:File = File.documentsDirectory.resolvePath(&#8220;air_app_assets/newfile.swf&#8221;);
var fileStream:FileStream = new FileStream();
fileStream.open(file, FileMode.READ);
 var swfloader: Loader= new Loader 
swfloader. LoadBytes(fileStream.readUTFBytes(fileStream.bytesAvailable)); 
fileStream.close();
u think it will load. and if this parent swf futher loads child files or iamges files from that same directory(assets directory) will it work</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Erik P. Hansen</title>
		<link>http://blog.erikphansen.com/loading-in-local-external-assets-into-an-air-app/comment-page-1#comment-431</link>
		<dc:creator>Erik P. Hansen</dc:creator>
		<pubDate>Thu, 14 Jan 2010 20:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.erikphansen.com/loading-in-local-external-images-into-an-air-app#comment-431</guid>
		<description>&lt;p&gt;Yeah, I had a hard time finding a clear explanation so I thought it was worth sharing what I learned. Hopefully it helped you out.&lt;/p&gt;

&lt;p&gt;Erik&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yeah, I had a hard time finding a clear explanation so I thought it was worth sharing what I learned. Hopefully it helped you out.</p>

<p>Erik</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Wai Man Wong</title>
		<link>http://blog.erikphansen.com/loading-in-local-external-assets-into-an-air-app/comment-page-1#comment-430</link>
		<dc:creator>Wai Man Wong</dc:creator>
		<pubDate>Thu, 14 Jan 2010 17:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.erikphansen.com/loading-in-local-external-images-into-an-air-app#comment-430</guid>
		<description>&lt;p&gt;Erik, I&#039;m in the same boat. Your post came up in a search and I can&#039;t believe it&#039;s the only one. Adobe&#039;s documentation could be a little more straightforward regarding this process as I would think these are pretty common requests.&lt;/p&gt;

&lt;p&gt;_Wai Man
http://www.linkedin.com/in/waimanwong&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Erik, I&#8217;m in the same boat. Your post came up in a search and I can&#8217;t believe it&#8217;s the only one. Adobe&#8217;s documentation could be a little more straightforward regarding this process as I would think these are pretty common requests.</p>

<p>_Wai Man
<a href="http://www.linkedin.com/in/waimanwong" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/www.linkedin.com/in/waimanwong?referer=');">http://www.linkedin.com/in/waimanwong</a></p>]]></content:encoded>
	</item>
</channel>
</rss>
