<?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: Embedding Assets in an AS3 Only Project</title>
	<atom:link href="http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/</link>
	<description>The art, science and business of independent game development</description>
	<lastBuildDate>Wed, 03 Mar 2010 21:22:26 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Asset</title>
		<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/comment-page-1/#comment-5036</link>
		<dc:creator>Asset</dc:creator>
		<pubDate>Wed, 08 Jul 2009 08:57:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamepoetry.com/wpress/2008/04/09/embedding-assets-in-an-as3-only-project/#comment-5036</guid>
		<description>&lt;p&gt;Nice post. Keep it up.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice post. Keep it up.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Iain</title>
		<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/comment-page-1/#comment-445</link>
		<dc:creator>Iain</dc:creator>
		<pubDate>Wed, 28 Jan 2009 18:39:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamepoetry.com/wpress/2008/04/09/embedding-assets-in-an-as3-only-project/#comment-445</guid>
		<description>&lt;p&gt;You can also embed vector graphics from SVG files this way.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You can also embed vector graphics from SVG files this way.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: urbansquall</title>
		<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/comment-page-1/#comment-245</link>
		<dc:creator>urbansquall</dc:creator>
		<pubDate>Mon, 29 Dec 2008 18:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamepoetry.com/wpress/2008/04/09/embedding-assets-in-an-as3-only-project/#comment-245</guid>
		<description>&lt;p&gt;That&#039;s correct. It would be good to have a reusable app to do the spidering. Might be worth doing an article about that in the future.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That&#8217;s correct. It would be good to have a reusable app to do the spidering. Might be worth doing an article about that in the future.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: MrBob</title>
		<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/comment-page-1/#comment-243</link>
		<dc:creator>MrBob</dc:creator>
		<pubDate>Mon, 29 Dec 2008 13:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamepoetry.com/wpress/2008/04/09/embedding-assets-in-an-as3-only-project/#comment-243</guid>
		<description>&lt;p&gt;Hi urbansquall, thanks for the reply.  By trace do you mean you simply retrieved the files absolute path and setup the embed path relative to a central .as file in your app?  I am thinking I&#039;ll just do something similar to yourself and write a command line app that will output a simple class definition with all the assets of a certain type included.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi urbansquall, thanks for the reply.  By trace do you mean you simply retrieved the files absolute path and setup the embed path relative to a central .as file in your app?  I am thinking I&#8217;ll just do something similar to yourself and write a command line app that will output a simple class definition with all the assets of a certain type included.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: urbansquall</title>
		<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/comment-page-1/#comment-242</link>
		<dc:creator>urbansquall</dc:creator>
		<pubDate>Mon, 29 Dec 2008 07:31:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamepoetry.com/wpress/2008/04/09/embedding-assets-in-an-as3-only-project/#comment-242</guid>
		<description>&lt;p&gt;I cheated. I used a hacked together AIR app to spider the directories and trace the appropriate embed statements that I then just copy pasted into the source file. It&#039;s not the best solution in the world, but it works. :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I cheated. I used a hacked together AIR app to spider the directories and trace the appropriate embed statements that I then just copy pasted into the source file. It&#8217;s not the best solution in the world, but it works. <img src='http://www.gamepoetry.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: MrBob</title>
		<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/comment-page-1/#comment-241</link>
		<dc:creator>MrBob</dc:creator>
		<pubDate>Mon, 29 Dec 2008 04:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamepoetry.com/wpress/2008/04/09/embedding-assets-in-an-as3-only-project/#comment-241</guid>
		<description>&lt;p&gt;Hi there.  Nice article, thanks for putting it up.  I&#039;m currently using Flex 3 + AS3 to write a small game, and there&#039;s one thing I wish I could do: automatically pre-generate embeds from all images in my asset directory.  I will probably have quite a few images in the future, and would like an artist or the like to just be able to drop an image file into the requisite directory, compile in flashdevelop which will run a pre-compile &#039;embed&#039; meta data generation step.  This pre-gen step could regenerate my AssetLoader class which currently contains a few Embeds that I did myself.&lt;/p&gt;

&lt;p&gt;Do you know of any way to do this easily, or shall I write my own tool to auto-magically pre-instance this Embed meta data?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi there.  Nice article, thanks for putting it up.  I&#8217;m currently using Flex 3 + AS3 to write a small game, and there&#8217;s one thing I wish I could do: automatically pre-generate embeds from all images in my asset directory.  I will probably have quite a few images in the future, and would like an artist or the like to just be able to drop an image file into the requisite directory, compile in flashdevelop which will run a pre-compile &#8216;embed&#8217; meta data generation step.  This pre-gen step could regenerate my AssetLoader class which currently contains a few Embeds that I did myself.</p>

<p>Do you know of any way to do this easily, or shall I write my own tool to auto-magically pre-instance this Embed meta data?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: micky</title>
		<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/comment-page-1/#comment-187</link>
		<dc:creator>micky</dc:creator>
		<pubDate>Mon, 22 Dec 2008 16:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamepoetry.com/wpress/2008/04/09/embedding-assets-in-an-as3-only-project/#comment-187</guid>
		<description>&lt;p&gt;maybe this is linux-related but the example works much better if the sound is instanciated once in the constructor rather than each time playConstructionSound is called&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>maybe this is linux-related but the example works much better if the sound is instanciated once in the constructor rather than each time playConstructionSound is called</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Helpful Flash Tutorials &#124; XlanderSoftware</title>
		<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/comment-page-1/#comment-16</link>
		<dc:creator>Helpful Flash Tutorials &#124; XlanderSoftware</dc:creator>
		<pubDate>Sat, 30 Aug 2008 04:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamepoetry.com/wpress/2008/04/09/embedding-assets-in-an-as3-only-project/#comment-16</guid>
		<description>&lt;p&gt;[...] Embedding assets in an ActionScript 3 project [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Embedding assets in an ActionScript 3 project [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Panayoti</title>
		<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/comment-page-1/#comment-15</link>
		<dc:creator>Panayoti</dc:creator>
		<pubDate>Mon, 23 Jun 2008 22:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamepoetry.com/wpress/2008/04/09/embedding-assets-in-an-as3-only-project/#comment-15</guid>
		<description>&lt;p&gt;If I understand what you&#039;re describing, you&#039;re talking about subclips within a clip you have instantiated on the stage, manually by dragging? That does make things a little less black and white, but it is certainly still doable. The thing I&#039;d suggest there is instead of using your custom class as the Document Class, instead instantiate it on a frame in the .fla and add it to the stage. This should work just fine unless you&#039;re doing code that requires a reference to the stage inside the constructor of the class you&#039;re now manually adding to the stage.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If I understand what you&#8217;re describing, you&#8217;re talking about subclips within a clip you have instantiated on the stage, manually by dragging? That does make things a little less black and white, but it is certainly still doable. The thing I&#8217;d suggest there is instead of using your custom class as the Document Class, instead instantiate it on a frame in the .fla and add it to the stage. This should work just fine unless you&#8217;re doing code that requires a reference to the stage inside the constructor of the class you&#8217;re now manually adding to the stage.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: michaelangela</title>
		<link>http://www.gamepoetry.com/blog/2008/04/09/embedding-assets-in-an-as3-only-project/comment-page-1/#comment-11</link>
		<dc:creator>michaelangela</dc:creator>
		<pubDate>Tue, 17 Jun 2008 16:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamepoetry.com/wpress/2008/04/09/embedding-assets-in-an-as3-only-project/#comment-11</guid>
		<description>&lt;p&gt;Ah this sounds good. I understand it conceptually but I&#039;ll have to go from concept to code. :-)&lt;/p&gt;

&lt;p&gt;Currently I use the Flash file Document Class to set the main class of the app. The main components are on the Flash stage. With the setup you describe, perhaps it would be better to make the app a symbol and have that linked to the main class instead of the document itself. Would that make this process easier?&lt;/p&gt;

&lt;p&gt;Thank you for sharing your expertise!&lt;/p&gt;

&lt;p&gt;Michael&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ah this sounds good. I understand it conceptually but I&#8217;ll have to go from concept to code. <img src='http://www.gamepoetry.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<p>Currently I use the Flash file Document Class to set the main class of the app. The main components are on the Flash stage. With the setup you describe, perhaps it would be better to make the app a symbol and have that linked to the main class instead of the document itself. Would that make this process easier?</p>

<p>Thank you for sharing your expertise!</p>

<p>Michael</p>]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.475 seconds -->
