<?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: Alternativa 3D Series &#8211; Tutorial 2 &#8211; Adding Material</title>
	<atom:link href="http://www.thetechlabs.com/tutorials/3d/alternativa-3d-a-flash-3d-engine-adding-material/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thetechlabs.com/3d/alternativa-3d-a-flash-3d-engine-adding-material/</link>
	<description>The Tech Labs</description>
	<lastBuildDate>Thu, 09 Feb 2012 07:28:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: MikeSh</title>
		<link>http://www.thetechlabs.com/3d/alternativa-3d-a-flash-3d-engine-adding-material/comment-page-1/#comment-10647</link>
		<dc:creator>MikeSh</dc:creator>
		<pubDate>Wed, 23 Sep 2009 00:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetechlabs.com/?p=147#comment-10647</guid>
		<description>How does the ResourceManager know to use the immediately above it embedded file?  Specifically if I add the following code to ResourceManager I can get a button to access the WaterTex but don&#039;t understand why it works (i.e. I&#039;m not even using the right jpg name):

[Embed(source=&#039;../media/Water1.JPG&#039;)]
public static const Water:Class;
public static const WaterTex:TextureMaterial = new TextureMaterial(new Texture(new Water().bitmapData));

Furthermore can you confirm that my inference as follows is correct?
Line1.  Embed the file in the swf
Line2.  Create a reference to that file in the code by declaring it as a class
Line3.  Create a TextureMaterial named WaterTex by taking the bitmapData property of the Water class . . . ???? -- I don&#039;t get this process even if it works ;)

Thanks in advance</description>
		<content:encoded><![CDATA[<p>How does the ResourceManager know to use the immediately above it embedded file?  Specifically if I add the following code to ResourceManager I can get a button to access the WaterTex but don&#8217;t understand why it works (i.e. I&#8217;m not even using the right jpg name):</p>
<p>[Embed(source='../media/Water1.JPG')]<br />
public static const Water:Class;<br />
public static const WaterTex:TextureMaterial = new TextureMaterial(new Texture(new Water().bitmapData));</p>
<p>Furthermore can you confirm that my inference as follows is correct?<br />
Line1.  Embed the file in the swf<br />
Line2.  Create a reference to that file in the code by declaring it as a class<br />
Line3.  Create a TextureMaterial named WaterTex by taking the bitmapData property of the Water class . . . ???? &#8212; I don&#8217;t get this process even if it works <img src='http://www.thetechlabs.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kardanadam</title>
		<link>http://www.thetechlabs.com/3d/alternativa-3d-a-flash-3d-engine-adding-material/comment-page-1/#comment-3997</link>
		<dc:creator>kardanadam</dc:creator>
		<pubDate>Wed, 04 Mar 2009 20:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetechlabs.com/?p=147#comment-3997</guid>
		<description>thats really great example for alternativa.
I hope that continues</description>
		<content:encoded><![CDATA[<p>thats really great example for alternativa.<br />
I hope that continues</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 382/388 objects using disk: basic

Served from: www.thetechlabs.com @ 2012-02-09 14:34:12 -->
