<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dispatchEvent()™ &#187; 3D</title>
	<atom:link href="http://dispatchevent.org/tag/3d/feed/" rel="self" type="application/rss+xml" />
	<link>http://dispatchevent.org</link>
	<description>Collective thoughts on the Flash Platform, iOS, Unity, and any other technology we use.</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:22:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flash Player 10 &#8211; 3D Example</title>
		<link>http://dispatchevent.org/calebjohnston/flash-player-10-3d-example/</link>
		<comments>http://dispatchevent.org/calebjohnston/flash-player-10-3d-example/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 16:06:27 +0000</pubDate>
		<dc:creator>Caleb Johnston</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Flash 10]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=431</guid>
		<description><![CDATA[I&#8217;ve tinkered a bit with Flash Player 10. One thing that seems almost funny about the 3D effects of Flash thus far is that very few examples show off actually 3D objects. Most examples I&#8217;ve examined show 2D planes transformed &#8230; <a href="http://dispatchevent.org/calebjohnston/flash-player-10-3d-example/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tinkered a bit with Flash Player 10. One thing that seems almost funny about the 3D effects of Flash thus far is that very few examples show off actually 3D objects. Most examples I&#8217;ve examined show 2D planes transformed in 3D space. So, I&#8217;ve created a sample 3D cube primitive in AS3 as a convenient example for people who want to get started with their own parsers or drawing tools (etc).</p>
<p><span id="more-431"></span></p>
<p>My current configuration is Mac OS X 5.2 + TextMate 1.5.7 + Flex SDK 4.0.0.3504. I have two shell scripts in place:<a title="txt version of textmate bundle command" href="http://www.calebjohnston.com/storage/scripts/textmate_compile.txt"><br />
</a></p>
<ol>
<li><a title="txt version of mxmlc script" href="http://www.calebjohnston.com/storage/scripts/mxmlc.txt">/usr/bin/mxmlc</a></li>
<li><a title="txt version of textmate bundle command" href="http://www.calebjohnston.com/storage/scripts/textmate_compile.txt">A TextMate run bundle</a> set to a hotkey, &#8220;command + R&#8221;</li>
<li>I&#8217;ve also have my <a title="Flex 4 SDK download" href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4">Flex SDK</a> set to the absolute path of: <em>/Developer/SDKs/Flex/4.0.0.3504</em></li>
</ol>
<p>This configuration requires a flex-config.xml in the same directory as the AS3 class file that you&#8217;re compiling. When you run the TextMate script (or something similar in your Terminal shell) it will compile the filename you pass in and default to using a config.xml which acts as a local flex-config.xml file. All of these can be customized as needed.</p>
<p>Example Flash 10 3D cube rotation:<br />
[kml_flashembed movie="http://www.calebjohnston.com/storage/fl10_examples/01_cube_rotation/CubeRotationExample.swf" height="260" width="410" bgcolor="#FFFFFF" /]</p>
<p>Obviously, the above swf won&#8217;t work without Flash player 10 installed.</p>
<p><a title="Flash 10 3D cube rotation example source" href="http://www.calebjohnston.com/storage/fl10_examples/01_cube_rotation.zip">Download the source here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/calebjohnston/flash-player-10-3d-example/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

