<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Working with CSS Styles Programmatically in Flex</title>
	<atom:link href="http://userflex.wordpress.com/2008/03/06/css-in-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://userflex.wordpress.com/2008/03/06/css-in-as3/</link>
	<description>Tasty tidbits of Flex knowledge</description>
	<lastBuildDate>Wed, 16 Dec 2009 23:57:28 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick Schneble</title>
		<link>http://userflex.wordpress.com/2008/03/06/css-in-as3/#comment-25</link>
		<dc:creator>Nick Schneble</dc:creator>
		<pubDate>Tue, 24 Jun 2008 18:36:46 +0000</pubDate>
		<guid isPermaLink="false">http://userflex.wordpress.com/?p=12#comment-25</guid>
		<description>I&#039;ve updated the post to include a PDF backup of StyleUtil.as (WordPress doesn&#039;t allow most filetypes, including .mxml and .as).

Here&#039;s an example of a getter and setter for the Canvas background color:

public function set canvasBackgroundColor (value : *) : void
{
    StyleUtil.setCSSStyle (&quot;Canvas&quot;, &quot;backgroundColor&quot;, StyleUtil.hex (value));
}

public function get canvasBackgroundColor () : uint
{
    return StyleUtil.getCSSStyle (&quot;Canvas&quot;, &quot;backgroundColor&quot;);
}</description>
		<content:encoded><![CDATA[<p>I&#8217;ve updated the post to include a PDF backup of StyleUtil.as (WordPress doesn&#8217;t allow most filetypes, including .mxml and .as).</p>
<p>Here&#8217;s an example of a getter and setter for the Canvas background color:</p>
<p>public function set canvasBackgroundColor (value : *) : void<br />
{<br />
    StyleUtil.setCSSStyle (&#8220;Canvas&#8221;, &#8220;backgroundColor&#8221;, StyleUtil.hex (value));<br />
}</p>
<p>public function get canvasBackgroundColor () : uint<br />
{<br />
    return StyleUtil.getCSSStyle (&#8220;Canvas&#8221;, &#8220;backgroundColor&#8221;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Schneble</title>
		<link>http://userflex.wordpress.com/2008/03/06/css-in-as3/#comment-24</link>
		<dc:creator>Nick Schneble</dc:creator>
		<pubDate>Tue, 24 Jun 2008 15:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://userflex.wordpress.com/?p=12#comment-24</guid>
		<description>Sorry about that! Private Paste deleted a lot of my code snippets even though they were set not to expire.

I&#039;ll try and recreate them as soon as I can!</description>
		<content:encoded><![CDATA[<p>Sorry about that! Private Paste deleted a lot of my code snippets even though they were set not to expire.</p>
<p>I&#8217;ll try and recreate them as soon as I can!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tamitutor</title>
		<link>http://userflex.wordpress.com/2008/03/06/css-in-as3/#comment-22</link>
		<dc:creator>tamitutor</dc:creator>
		<pubDate>Tue, 24 Jun 2008 14:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://userflex.wordpress.com/?p=12#comment-22</guid>
		<description>Hi,

I&#039;ve clicked on your links and they don&#039;t work...Getting an &quot;invalid private paste content id&quot; error.  Could you repost?

Thanks,

Tami</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve clicked on your links and they don&#8217;t work&#8230;Getting an &#8220;invalid private paste content id&#8221; error.  Could you repost?</p>
<p>Thanks,</p>
<p>Tami</p>
]]></content:encoded>
	</item>
</channel>
</rss>
