<?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: Embedded Asset Paths in ActionScript 3</title>
	<atom:link href="http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/</link>
	<description>This is the blog of Brooks Andrus. Here, at irregular intervals, you may find digital noise centered around the activities of an early 21st century technologist. I work for TechSmith Corporation, but this web space and the views found on it are entirely my own.</description>
	<lastBuildDate>Wed, 08 May 2013 11:05:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Jayson</title>
		<link>http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/comment-page-1/#comment-52685</link>
		<dc:creator>Jayson</dc:creator>
		<pubDate>Mon, 02 Jan 2012 18:24:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/#comment-52685</guid>
		<description><![CDATA[Thanks for the hint!!

It worked well here.
I think it only works with Flex.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the hint!!</p>
<p>It worked well here.<br />
I think it only works with Flex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renzo</title>
		<link>http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/comment-page-1/#comment-52615</link>
		<dc:creator>Renzo</dc:creator>
		<pubDate>Thu, 27 Oct 2011 18:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/#comment-52615</guid>
		<description><![CDATA[I tried using an absolute path like in simon&#039;s example, but still got an &quot;unable to resolve for transcoding&quot; error on flex builder with sdk 3.5.]]></description>
		<content:encoded><![CDATA[<p>I tried using an absolute path like in simon&#8217;s example, but still got an &#8220;unable to resolve for transcoding&#8221; error on flex builder with sdk 3.5.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russ</title>
		<link>http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/comment-page-1/#comment-52477</link>
		<dc:creator>Russ</dc:creator>
		<pubDate>Sat, 19 Feb 2011 23:25:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/#comment-52477</guid>
		<description><![CDATA[Very good explanation, thank you for this post. Also, I tried using &quot;/&quot; shortcut to the project directory in a CS4 project but it didn&#039;t work. Perhaps that trick only applies in Flex.]]></description>
		<content:encoded><![CDATA[<p>Very good explanation, thank you for this post. Also, I tried using &#8220;/&#8221; shortcut to the project directory in a CS4 project but it didn&#8217;t work. Perhaps that trick only applies in Flex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike J</title>
		<link>http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/comment-page-1/#comment-13925</link>
		<dc:creator>Mike J</dc:creator>
		<pubDate>Tue, 24 Jul 2007 14:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/#comment-13925</guid>
		<description><![CDATA[I simplify my resource usages by having an AssetManager class that takes care of all my embeds.

package {
  public final class AssetManager {
    [Embed (source=&quot;/assets/myicon.png&quot; )]
    public static const ICON_MYICON:Class;
  }
}

Then just use it the same as normal, but with the asset manager class in front of it : 

var icon:Bitmap = new AssetManager.ICON_MYICON();
addChild( icon );]]></description>
		<content:encoded><![CDATA[<p>I simplify my resource usages by having an AssetManager class that takes care of all my embeds.</p>
<p>package {<br />
  public final class AssetManager {<br />
    [Embed (source="/assets/myicon.png" )]<br />
    public static const ICON_MYICON:Class;<br />
  }<br />
}</p>
<p>Then just use it the same as normal, but with the asset manager class in front of it : </p>
<p>var icon:Bitmap = new AssetManager.ICON_MYICON();<br />
addChild( icon );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Cave</title>
		<link>http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/comment-page-1/#comment-13882</link>
		<dc:creator>Simon Cave</dc:creator>
		<pubDate>Mon, 23 Jul 2007 11:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/2007/07/23/embedded-asset-paths-in-actionscript-3/#comment-13882</guid>
		<description><![CDATA[You can use an absolute path (which is actually relative to the project directory) by starting your reference with a forward slash, like this:

/assets/MediaIcons.swf]]></description>
		<content:encoded><![CDATA[<p>You can use an absolute path (which is actually relative to the project directory) by starting your reference with a forward slash, like this:</p>
<p>/assets/MediaIcons.swf</p>
]]></content:encoded>
	</item>
</channel>
</rss>
