<?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: Hexadecimal Color Fading</title>
	<atom:link href="http://www.pixelwit.com/blog/2007/05/hexadecimal-color-fading/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelwit.com/blog/2007/05/hexadecimal-color-fading/</link>
	<description>Making Flash Go</description>
	<lastBuildDate>Fri, 03 Feb 2012 01:38:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Anon</title>
		<link>http://www.pixelwit.com/blog/2007/05/hexadecimal-color-fading/comment-page-1/#comment-147457</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Sun, 22 May 2011 05:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelwit.com/blog/2007/05/14/hexadecimal-color-fading/#comment-147457</guid>
		<description>thanks for the hexadecimal code!!!! XD i really need that :D</description>
		<content:encoded><![CDATA[<p>thanks for the hexadecimal code!!!! XD i really need that <img src='http://www.pixelwit.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IamFace</title>
		<link>http://www.pixelwit.com/blog/2007/05/hexadecimal-color-fading/comment-page-1/#comment-63093</link>
		<dc:creator>IamFace</dc:creator>
		<pubDate>Thu, 24 Jun 2010 16:46:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelwit.com/blog/2007/05/14/hexadecimal-color-fading/#comment-63093</guid>
		<description>Very cool! Good work!</description>
		<content:encoded><![CDATA[<p>Very cool! Good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Archer</title>
		<link>http://www.pixelwit.com/blog/2007/05/hexadecimal-color-fading/comment-page-1/#comment-56465</link>
		<dc:creator>Tim Archer</dc:creator>
		<pubDate>Wed, 31 Mar 2010 10:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelwit.com/blog/2007/05/14/hexadecimal-color-fading/#comment-56465</guid>
		<description>Thank you, you just made the last, most dreaded task of a time-consuming little Flash job a breeze. Best wishes, Tim.</description>
		<content:encoded><![CDATA[<p>Thank you, you just made the last, most dreaded task of a time-consuming little Flash job a breeze. Best wishes, Tim.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leung</title>
		<link>http://www.pixelwit.com/blog/2007/05/hexadecimal-color-fading/comment-page-1/#comment-52839</link>
		<dc:creator>leung</dc:creator>
		<pubDate>Mon, 15 Feb 2010 14:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelwit.com/blog/2007/05/14/hexadecimal-color-fading/#comment-52839</guid>
		<description>thank you ... for this script</description>
		<content:encoded><![CDATA[<p>thank you &#8230; for this script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lmg</title>
		<link>http://www.pixelwit.com/blog/2007/05/hexadecimal-color-fading/comment-page-1/#comment-51278</link>
		<dc:creator>lmg</dc:creator>
		<pubDate>Mon, 25 Jan 2010 12:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelwit.com/blog/2007/05/14/hexadecimal-color-fading/#comment-51278</guid>
		<description>// needed to fade in an array of colors
// small function using fadeHex does it. sharing, enjoy :)
// usage: fadeHexArr([0x00FF00, 0xFFFF00, 0xFF0000], 0.3);

private function fadeHexArr(hexArr:Array, ratio:Number):int {
	var r:Number = (hexArr.length - 1) * ratio;
	var i0:int = Math.floor(r);
	var i1:int = Math.ceil(r);
	return fadeHex(hexArr[i0], hexArr[i1], r - i0);
}</description>
		<content:encoded><![CDATA[<p>// needed to fade in an array of colors<br />
// small function using fadeHex does it. sharing, enjoy <img src='http://www.pixelwit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
// usage: fadeHexArr([0x00FF00, 0xFFFF00, 0xFF0000], 0.3);</p>
<p>private function fadeHexArr(hexArr:Array, ratio:Number):int {<br />
	var r:Number = (hexArr.length &#8211; 1) * ratio;<br />
	var i0:int = Math.floor(r);<br />
	var i1:int = Math.ceil(r);<br />
	return fadeHex(hexArr[i0], hexArr[i1], r &#8211; i0);<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

