<?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/"
		>
<channel>
	<title>Comments on: Easy Full-Screen Gradients in Flash &#8211; AS3</title>
	<atom:link href="http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/</link>
	<description>The choreography of color and code</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:37:56 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eskel</title>
		<link>http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/comment-page-1/#comment-281</link>
		<dc:creator>Eskel</dc:creator>
		<pubDate>Wed, 07 Apr 2010 04:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=82#comment-281</guid>
		<description>STEPHEN BRAITSCH: Thank you so much for this class, it helped me a lot.
SIDEDOOR: And thanks for the alpha modification as well, that was actually what I needed.</description>
		<content:encoded><![CDATA[<p>STEPHEN BRAITSCH: Thank you so much for this class, it helped me a lot.<br />
SIDEDOOR: And thanks for the alpha modification as well, that was actually what I needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Braitsch</title>
		<link>http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/comment-page-1/#comment-272</link>
		<dc:creator>Stephen Braitsch</dc:creator>
		<pubDate>Wed, 24 Mar 2010 18:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=82#comment-272</guid>
		<description>Sounds like a few of you guys are getting syntax errors due to character entities injected by your text editor. If that is the case be sure to replace anything like “–&g;” to “:” as Daniel noted above.</description>
		<content:encoded><![CDATA[<p>Sounds like a few of you guys are getting syntax errors due to character entities injected by your text editor. If that is the case be sure to replace anything like “–&#038;g;” to “:” as Daniel noted above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Jackson</title>
		<link>http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/comment-page-1/#comment-271</link>
		<dc:creator>Colin Jackson</dc:creator>
		<pubDate>Wed, 24 Mar 2010 14:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=82#comment-271</guid>
		<description>Got it to a point, now I&#039;m getting this:

1084: Syntax error: expecting identifier before bitwiseand.</description>
		<content:encoded><![CDATA[<p>Got it to a point, now I&#8217;m getting this:</p>
<p>1084: Syntax error: expecting identifier before bitwiseand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Jackson</title>
		<link>http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/comment-page-1/#comment-270</link>
		<dc:creator>Colin Jackson</dc:creator>
		<pubDate>Wed, 24 Mar 2010 12:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=82#comment-270</guid>
		<description>have tried to implement your class. However, I get this error: 

5001: The name of package &#039;com.quietless.display.drawing&#039; does not reflect the location of this file. Please change the package definition&#039;s name inside this file, or move the file. /Applications/ColdFusion9/wwwroot/colin/FullScreenGradient.as</description>
		<content:encoded><![CDATA[<p>have tried to implement your class. However, I get this error: </p>
<p>5001: The name of package &#8216;com.quietless.display.drawing&#8217; does not reflect the location of this file. Please change the package definition&#8217;s name inside this file, or move the file. /Applications/ColdFusion9/wwwroot/colin/FullScreenGradient.as</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeetendra</title>
		<link>http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/comment-page-1/#comment-244</link>
		<dc:creator>jeetendra</dc:creator>
		<pubDate>Tue, 19 Jan 2010 16:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=82#comment-244</guid>
		<description>Hi DANIEL,
   it will be 
var grad:FullScreenGradient = new  FullScreenGradient(colors, type, constrain);
please check

jeetendra</description>
		<content:encoded><![CDATA[<p>Hi DANIEL,<br />
   it will be<br />
var grad:FullScreenGradient = new  FullScreenGradient(colors, type, constrain);<br />
please check</p>
<p>jeetendra</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daniel</title>
		<link>http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/comment-page-1/#comment-87</link>
		<dc:creator>daniel</dc:creator>
		<pubDate>Tue, 17 Nov 2009 04:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=82#comment-87</guid>
		<description>got it....
&quot;–&g;&quot; should be replaced with &quot;:&quot;

I need some sleep</description>
		<content:encoded><![CDATA[<p>got it&#8230;.<br />
&#8220;–&#038;g;&#8221; should be replaced with &#8220;:&#8221;</p>
<p>I need some sleep</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daniel</title>
		<link>http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/comment-page-1/#comment-86</link>
		<dc:creator>daniel</dc:creator>
		<pubDate>Tue, 17 Nov 2009 03:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=82#comment-86</guid>
		<description>Hi,
thx vm for the code, 
what is &quot;--&amp;gt&quot;? (i get error &quot;expecting identifier before bitwiseand&quot;)
 
thx</description>
		<content:encoded><![CDATA[<p>Hi,<br />
thx vm for the code,<br />
what is &#8220;&#8211;&amp;gt&#8221;? (i get error &#8220;expecting identifier before bitwiseand&#8221;)</p>
<p>thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sideDoor</title>
		<link>http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/comment-page-1/#comment-44</link>
		<dc:creator>sideDoor</dc:creator>
		<pubDate>Sun, 12 Apr 2009 06:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=82#comment-44</guid>
		<description>Oh, yeah, forgot to mention: also added to the FullScreenGradient class, the setter function:

public function set alphas($alphas:Array):void {
			_alphas = $alphas;
		}</description>
		<content:encoded><![CDATA[<p>Oh, yeah, forgot to mention: also added to the FullScreenGradient class, the setter function:</p>
<p>public function set alphas($alphas:Array):void {<br />
			_alphas = $alphas;<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sideDoor</title>
		<link>http://www.quietless.com/kitchen/easy-full-screen-gradients-in-flash-as3/comment-page-1/#comment-43</link>
		<dc:creator>sideDoor</dc:creator>
		<pubDate>Sun, 12 Apr 2009 06:41:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.quietless.com/kitchen/?p=82#comment-43</guid>
		<description>Hey bro,

Great class, extremely handy...once again helping me greatly!

I added the ability to set the gradient-colors&#039; alpha-values while instantiating the object, ie:

...other code...
// create array of alphas //
var alphas:Array = [.2, .3, .4, 1];
// instantiate object, including the alphas array  //
var grad:FullScreenGradient = new FullScreenGradient(colors, type, constrain, alphas);

and within your FullScreenGradient class, removed the current method of setting the gradient alphas on line 96 and changed your constructor to this:

public function FullScreenGradient($colors:Array, $type:String = RADIAL, $constrain:Boolean = true, $alphas:Array = null){          
            this.colors = $colors;
			this.type = $type;
			if ($alphas){
				this.alphas = $alphas;
			}
			else
			{
				for (var i:int = 0; i &lt; _colors.length; i++)
				{
					_alphas.push(1);
				}
			}
			_constrain = $constrain;	
			if (_type) listenForStageAvailability();
	    }


...not sure if that would be of help to anyone else but me though, lol

Thanks so much man!
jf</description>
		<content:encoded><![CDATA[<p>Hey bro,</p>
<p>Great class, extremely handy&#8230;once again helping me greatly!</p>
<p>I added the ability to set the gradient-colors&#8217; alpha-values while instantiating the object, ie:</p>
<p>&#8230;other code&#8230;<br />
// create array of alphas //<br />
var alphas:Array = [.2, .3, .4, 1];<br />
// instantiate object, including the alphas array  //<br />
var grad:FullScreenGradient = new FullScreenGradient(colors, type, constrain, alphas);</p>
<p>and within your FullScreenGradient class, removed the current method of setting the gradient alphas on line 96 and changed your constructor to this:</p>
<p>public function FullScreenGradient($colors:Array, $type:String = RADIAL, $constrain:Boolean = true, $alphas:Array = null){<br />
            this.colors = $colors;<br />
			this.type = $type;<br />
			if ($alphas){<br />
				this.alphas = $alphas;<br />
			}<br />
			else<br />
			{<br />
				for (var i:int = 0; i &lt; _colors.length; i++)<br />
				{<br />
					_alphas.push(1);<br />
				}<br />
			}<br />
			_constrain = $constrain;<br />
			if (_type) listenForStageAvailability();<br />
	    }</p>
<p>&#8230;not sure if that would be of help to anyone else but me though, lol</p>
<p>Thanks so much man!<br />
jf</p>
]]></content:encoded>
	</item>
</channel>
</rss>
