<?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: How to Add a Background Gradient to a Canvas Layout Container</title>
	<atom:link href="http://userflex.wordpress.com/2008/01/30/add-canvas-gradient/feed/" rel="self" type="application/rss+xml" />
	<link>http://userflex.wordpress.com/2008/01/30/add-canvas-gradient/</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: egroulx</title>
		<link>http://userflex.wordpress.com/2008/01/30/add-canvas-gradient/#comment-102</link>
		<dc:creator>egroulx</dc:creator>
		<pubDate>Tue, 19 May 2009 15:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://userflex.wordpress.com/?p=6#comment-102</guid>
		<description>Thanks for this code, really helpful.  Here&#039;s the metadata you need to add to the top of the class if you want to be able to set values as mxml attributes : 

[Style(name=&quot;fillAlphas&quot;, type=&quot;Array&quot;, arrayType=&quot;Number&quot;, inherit=&quot;no&quot;)]
[Style(name=&quot;fillColors&quot;, type=&quot;Array&quot;, arrayType=&quot;uint&quot;, format=&quot;Color&quot;, inherit=&quot;no&quot;)]</description>
		<content:encoded><![CDATA[<p>Thanks for this code, really helpful.  Here&#8217;s the metadata you need to add to the top of the class if you want to be able to set values as mxml attributes : </p>
<p>[Style(name="fillAlphas", type="Array", arrayType="Number", inherit="no")]<br />
[Style(name="fillColors", type="Array", arrayType="uint", format="Color", inherit="no")]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryanbbeard</title>
		<link>http://userflex.wordpress.com/2008/01/30/add-canvas-gradient/#comment-91</link>
		<dc:creator>ryanbbeard</dc:creator>
		<pubDate>Fri, 30 Jan 2009 01:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://userflex.wordpress.com/?p=6#comment-91</guid>
		<description>Something to notice if you are getting 6 errors on lines 15,16, and 17 on GradientCanvas.as it&#039;s because wordpress turns a programming quote &quot; into a quote you would see if you were actually quoting someone. I know this was an error for me for a good hour before I remembered this issue. And maybe what jamesclinton was having issue with. Great code tho :) thanks</description>
		<content:encoded><![CDATA[<p>Something to notice if you are getting 6 errors on lines 15,16, and 17 on GradientCanvas.as it&#8217;s because wordpress turns a programming quote &#8221; into a quote you would see if you were actually quoting someone. I know this was an error for me for a good hour before I remembered this issue. And maybe what jamesclinton was having issue with. Great code tho <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Schneble</title>
		<link>http://userflex.wordpress.com/2008/01/30/add-canvas-gradient/#comment-73</link>
		<dc:creator>Nick Schneble</dc:creator>
		<pubDate>Wed, 07 Jan 2009 18:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://userflex.wordpress.com/?p=6#comment-73</guid>
		<description>@jamesclinton

How did you include them in your CSS file? For the getStyle() method to work, you need to have styles defined for that component.

For example, given the GradientCanvas component above, you would need to have something like the following in your CSS file:

GradientCanvas
{
    fill-colors: #FFFFFF, #000000;
    fill-alphas: 1.0, 1.0;

    corner-radius: 0;
}</description>
		<content:encoded><![CDATA[<p>@jamesclinton</p>
<p>How did you include them in your CSS file? For the getStyle() method to work, you need to have styles defined for that component.</p>
<p>For example, given the GradientCanvas component above, you would need to have something like the following in your CSS file:</p>
<p>GradientCanvas<br />
{<br />
    fill-colors: #FFFFFF, #000000;<br />
    fill-alphas: 1.0, 1.0;</p>
<p>    corner-radius: 0;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Schneble</title>
		<link>http://userflex.wordpress.com/2008/01/30/add-canvas-gradient/#comment-72</link>
		<dc:creator>Nick Schneble</dc:creator>
		<pubDate>Wed, 07 Jan 2009 18:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://userflex.wordpress.com/?p=6#comment-72</guid>
		<description>@rajeshbhadra

Can you post the CSS for your style SWF?

When you load a new style declaration it will override any previously loaded styles, so it&#039;s likely that something in your style SWF is setting those colors to white.</description>
		<content:encoded><![CDATA[<p>@rajeshbhadra</p>
<p>Can you post the CSS for your style SWF?</p>
<p>When you load a new style declaration it will override any previously loaded styles, so it&#8217;s likely that something in your style SWF is setting those colors to white.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jamesclinton</title>
		<link>http://userflex.wordpress.com/2008/01/30/add-canvas-gradient/#comment-70</link>
		<dc:creator>jamesclinton</dc:creator>
		<pubDate>Tue, 06 Jan 2009 23:30:57 +0000</pubDate>
		<guid isPermaLink="false">http://userflex.wordpress.com/?p=6#comment-70</guid>
		<description>Hi Thanks this canvas. very useful.  I am however having a problem which is dead simple to solve i think, but I&#039;m new to Flex.

Bascially when compiling, I cannot find the styles.  I have tried including them inline and in a css file, but no joy...can you help?  Compile error is 

&quot;Syntax error. var fillAlphas : Array = getStyle (?fillAlphas?);&quot;

If I hard code in the values it works file.</description>
		<content:encoded><![CDATA[<p>Hi Thanks this canvas. very useful.  I am however having a problem which is dead simple to solve i think, but I&#8217;m new to Flex.</p>
<p>Bascially when compiling, I cannot find the styles.  I have tried including them inline and in a css file, but no joy&#8230;can you help?  Compile error is </p>
<p>&#8220;Syntax error. var fillAlphas : Array = getStyle (?fillAlphas?);&#8221;</p>
<p>If I hard code in the values it works file.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
