<?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>Ralph Canapa &#187; AS3</title>
	<atom:link href="http://ralphcanapa.com/blog/index.php/tag/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://ralphcanapa.com/blog</link>
	<description></description>
	<lastBuildDate>Tue, 11 May 2010 13:51:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Destroy All Bunnies!</title>
		<link>http://ralphcanapa.com/blog/index.php/2010/04/destroy-all-bunnies/</link>
		<comments>http://ralphcanapa.com/blog/index.php/2010/04/destroy-all-bunnies/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 13:38:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://ralphcanapa.com/blog/?p=497</guid>
		<description><![CDATA[For too long the bunnies have dominated chicken-kind &#8211; heartlessly decorating and hiding their unborn offspring. Finally a hero has come! Help Bruster McRooster fend off the hideously fuzzy foes.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_VGame_1375358395"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="http://ralphcanapa.com/blog/wp-content/uploads/2010/04/VGame.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://ralphcanapa.com/blog/wp-content/uploads/2010/04/VGame.swf"
			name="fm_VGame_1375358395"
			width="550"
			height="400">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
The main code came from an AS3 book. I modified the code a bit and added new graphics. Hope you enjoy it!
]]></description>
			<content:encoded><![CDATA[<p>For too long the bunnies have dominated chicken-kind &#8211; heartlessly decorating and hiding their unborn offspring. Finally a hero has come! Help Bruster McRooster fend off the hideously fuzzy foes.</p>
<p style="text-align: center;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_VGame_464782447"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="http://ralphcanapa.com/blog/wp-content/uploads/2010/04/VGame.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://ralphcanapa.com/blog/wp-content/uploads/2010/04/VGame.swf"
			name="fm_VGame_464782447"
			width="550"
			height="400">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>The main code came from an AS3 book. I modified the code a bit and added new graphics. Hope you enjoy it!</p>
]]></content:encoded>
			<wfw:commentRss>http://ralphcanapa.com/blog/index.php/2010/04/destroy-all-bunnies/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>In ActionScript 3 the TextArea object CSS attribute can be fussy</title>
		<link>http://ralphcanapa.com/blog/index.php/2009/04/in-actionscript-3-the-textarea-object-css-attribute-can-be-fussy/</link>
		<comments>http://ralphcanapa.com/blog/index.php/2009/04/in-actionscript-3-the-textarea-object-css-attribute-can-be-fussy/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 18:58:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code Reference]]></category>
		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://canapacreative.com/blog/?p=52</guid>
		<description><![CDATA[You can get different results from the same SWF if it&#8217;s executed locally versus a web server.
Suppose you have a TextArea object called &#8220;mytext&#8221; and you want this object to use css.

code 1
mytext.styleSheet = css;
addChild(mytext);
code 2
addChild(mytext);
mytext.styleSheet = css;

code 1 will render the TextArea object just fine on the local system but will not correctly render [...]]]></description>
			<content:encoded><![CDATA[<p>You can get different results from the same SWF if it&#8217;s executed locally versus a web server.</p>
<p>Suppose you have a TextArea object called &#8220;mytext&#8221; and you want this object to use css.</p>
<div style="margin-left:20px;">
<h3>code 1</h3>
<pre>mytext.styleSheet = css;
addChild(mytext);</pre>
<h3>code 2</h3>
<pre>addChild(mytext);
mytext.styleSheet = css;</pre>
</div>
<p><strong>code 1</strong> will render the TextArea object just fine on the local system but will not correctly render the css (specifically the line-height) from a web server.</p>
<p><strong>code 2</strong>, however, will render the css correctly in both cases.</p>
]]></content:encoded>
			<wfw:commentRss>http://ralphcanapa.com/blog/index.php/2009/04/in-actionscript-3-the-textarea-object-css-attribute-can-be-fussy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

