<?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>Nate Beck &#187; Cocomo</title>
	<atom:link href="http://blog.natebeck.net/tag/cocomo/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.natebeck.net</link>
	<description>AIR, Flex / Flash, FMS, PushButton, Game... Developer</description>
	<lastBuildDate>Wed, 07 Sep 2011 21:24:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Tip of the Day &#8211; Compile your AIR Applications for Flash Player 10</title>
		<link>http://blog.natebeck.net/2009/01/tip-of-the-day-compile-your-air-applications-for-flash-player-10/</link>
		<comments>http://blog.natebeck.net/2009/01/tip-of-the-day-compile-your-air-applications-for-flash-player-10/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 07:04:27 +0000</pubDate>
		<dc:creator>Nate Beck</dc:creator>
				<category><![CDATA[Cocomo]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tip of the day]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex Builder]]></category>

		<guid isPermaLink="false">http://blog.natebeck.net/?p=407</guid>
		<description><![CDATA[I was playing with Cocomo today and hit a wall dealing with the Flash Player 10 version of Cocomo.swc while using Adobe AIR. I created a new AIR application in Flex Builder 3, and pointed it to the Flex SDK 3.2. I then linked in the FP10 version of Cocomo.swc. Everything was going fine until]]></description>
			<content:encoded><![CDATA[<p>I was playing with Cocomo today and hit a wall dealing with the Flash Player 10 version of Cocomo.swc while using Adobe AIR. I created a new AIR application in Flex Builder 3, and pointed it to the Flex SDK 3.2. I then linked in the FP10 version of Cocomo.swc. Everything was going fine until I tried to run my application and it threw &#8220;Error #1065: Variable SoundCodec is not defined.&#8221;</p>
<p>After doing a bit of research, I learned this error occurs when trying to run Flash Player 10 code in the Flash Player 9 runtime. I thought Flex Builder would handle this for me automatically when I pointed it to the 3.2 SDK.</p>
<p>So here is the fix and your tip for the day.<br />
Within Flex Builder:</p>
<ol>
<li>Select your AIR application in the Flex navigator</li>
<li>From the menu choose, Project > Properties</li>
<li>Choose &#8220;Flex Compiler&#8221;</li>
<li>Add &#8220;-target-player=10&#8243; to your Additional compiler arguments</li>
<li>Click OK</li>
</ol>
<p><a href="http://blog.natebeck.net/wp-content/uploads/2009/01/player10.png" target="_blank"><img src="http://blog.natebeck.net/wp-content/uploads/2009/01/player10-300x276.png" width="300" height="276" class="size-medium wp-image-416" /></a></p>
<p>This isn&#8217;t limited to Adobe AIR, you can set the target player of your Flex applications as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.natebeck.net/2009/01/tip-of-the-day-compile-your-air-applications-for-flash-player-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

