<?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: Light Gauge</title>
	<atom:link href="http://www.betterthanflex.com/?feed=rss2&#038;p=9" rel="self" type="application/rss+xml" />
	<link>http://www.betterthanflex.com/?p=9</link>
	<description></description>
	<lastBuildDate>Wed, 22 Jul 2009 20:00:28 +1200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jacob P</title>
		<link>http://www.betterthanflex.com/?p=9&#038;cpage=1#comment-2046</link>
		<dc:creator>Jacob P</dc:creator>
		<pubDate>Thu, 16 Apr 2009 19:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.betterthanflex.com/?p=9#comment-2046</guid>
		<description>I like it! I&#039;m new to implementing components like this into projects. Is there an example I could check out that might show me how to do it?</description>
		<content:encoded><![CDATA[<p>I like it! I&#8217;m new to implementing components like this into projects. Is there an example I could check out that might show me how to do it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Miller</title>
		<link>http://www.betterthanflex.com/?p=9&#038;cpage=1#comment-1154</link>
		<dc:creator>Kyle Miller</dc:creator>
		<pubDate>Sun, 08 Jun 2008 22:48:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.betterthanflex.com/?p=9#comment-1154</guid>
		<description>Hello.  Love what you did.  I&#039;m a newbie and would love to use what you&#039;ve done, however I&#039;m totally lost.  I&#039;ve been using FlashDevelop and FlashBuilder 3 for a month now.  I&#039;ve been reading up on components, but still don&#039;t know how to use your code.  I&#039;d like to make a radial dial as configured in your explorer.  Any examples? :)  Thanks!</description>
		<content:encoded><![CDATA[<p>Hello.  Love what you did.  I&#8217;m a newbie and would love to use what you&#8217;ve done, however I&#8217;m totally lost.  I&#8217;ve been using FlashDevelop and FlashBuilder 3 for a month now.  I&#8217;ve been reading up on components, but still don&#8217;t know how to use your code.  I&#8217;d like to make a radial dial as configured in your explorer.  Any examples? <img src='http://www.betterthanflex.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: دردشة</title>
		<link>http://www.betterthanflex.com/?p=9&#038;cpage=1#comment-1134</link>
		<dc:creator>دردشة</dc:creator>
		<pubDate>Sat, 26 Apr 2008 15:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.betterthanflex.com/?p=9#comment-1134</guid>
		<description>round one in the middle</description>
		<content:encoded><![CDATA[<p>round one in the middle</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: levan</title>
		<link>http://www.betterthanflex.com/?p=9&#038;cpage=1#comment-1107</link>
		<dc:creator>levan</dc:creator>
		<pubDate>Fri, 28 Mar 2008 02:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.betterthanflex.com/?p=9#comment-1107</guid>
		<description>this is ver ver solid component, thanks for hard work.
P.S : 
I found a mini bug when you set lightStyle to &quot;solid&quot;.
 here is use Case :

LightGauge.as line 124-145.

var boundaryIndex:int = Math.ceil(((_value - _min)/(_max - _min)) * _divisions) - 1;
--------- Values Breakdown -------
 max  =75
_value =100
_min  =0
_division =40
(_value - _min)/(_max - _min) = 1.3333333333..
1.3333333333... * 40 = 53.333333
Math.ceil(53.333333) = 54
54-1 = 53
since _onGradient only holds 39 elements
next line : 
graphics.beginFill(_onGradient[boundaryIndex].rgb,uint(_onGradient[boundaryIndex].alpha) / 255);

throws TypeError: Error #1010: A term is undefined and has no properties.
	at com.betterthanflex::LightGauge/updateDisplayList()[D:\dev\_workspace\_Flex\flexshell_extern\src\com\betterthanflex\LightGauge.as:125]</description>
		<content:encoded><![CDATA[<p>this is ver ver solid component, thanks for hard work.<br />
P.S :<br />
I found a mini bug when you set lightStyle to &#8220;solid&#8221;.<br />
 here is use Case :</p>
<p>LightGauge.as line 124-145.</p>
<p>var boundaryIndex:int = Math.ceil(((_value &#8211; _min)/(_max &#8211; _min)) * _divisions) &#8211; 1;<br />
&#8212;&#8212;&#8212; Values Breakdown &#8212;&#8212;-<br />
 max  =75<br />
_value =100<br />
_min  =0<br />
_division =40<br />
(_value &#8211; _min)/(_max &#8211; _min) = 1.3333333333..<br />
1.3333333333&#8230; * 40 = 53.333333<br />
Math.ceil(53.333333) = 54<br />
54-1 = 53<br />
since _onGradient only holds 39 elements<br />
next line :<br />
graphics.beginFill(_onGradient[boundaryIndex].rgb,uint(_onGradient[boundaryIndex].alpha) / 255);</p>
<p>throws TypeError: Error #1010: A term is undefined and has no properties.<br />
	at com.betterthanflex::LightGauge/updateDisplayList()[D:\dev\_workspace\_Flex\flexshell_extern\src\com\betterthanflex\LightGauge.as:125]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mmitica</title>
		<link>http://www.betterthanflex.com/?p=9&#038;cpage=1#comment-890</link>
		<dc:creator>mmitica</dc:creator>
		<pubDate>Mon, 04 Feb 2008 10:25:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.betterthanflex.com/?p=9#comment-890</guid>
		<description>Amazing component. Great job and thanks for sharing.
Is it possible to get the source code for the Demo?
I would like to see how to make tha value changes smoothly.

Thank you.</description>
		<content:encoded><![CDATA[<p>Amazing component. Great job and thanks for sharing.<br />
Is it possible to get the source code for the Demo?<br />
I would like to see how to make tha value changes smoothly.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ami</title>
		<link>http://www.betterthanflex.com/?p=9&#038;cpage=1#comment-824</link>
		<dc:creator>Ami</dc:creator>
		<pubDate>Wed, 16 Jan 2008 07:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.betterthanflex.com/?p=9#comment-824</guid>
		<description>That&#039;s great ! Cool stuff......</description>
		<content:encoded><![CDATA[<p>That&#8217;s great ! Cool stuff&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wahoo</title>
		<link>http://www.betterthanflex.com/?p=9&#038;cpage=1#comment-641</link>
		<dc:creator>Wahoo</dc:creator>
		<pubDate>Sat, 06 Oct 2007 16:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.betterthanflex.com/?p=9#comment-641</guid>
		<description>Thank you for sharing!</description>
		<content:encoded><![CDATA[<p>Thank you for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.betterthanflex.com/?p=9&#038;cpage=1#comment-34</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 12 Jun 2007 20:00:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.betterthanflex.com/?p=9#comment-34</guid>
		<description>Yes, I&#039;m thinking of creating a small addition to the explorer where it will output the appropriate &lt;LightGauge /&gt; MXML tag with all the properties based on the settings you have made in the Explorer. ETA some time in the next day or so.</description>
		<content:encoded><![CDATA[<p>Yes, I&#8217;m thinking of creating a small addition to the explorer where it will output the appropriate
<lightgauge /> MXML tag with all the properties based on the settings you have made in the Explorer. ETA some time in the next day or so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sjoerd</title>
		<link>http://www.betterthanflex.com/?p=9&#038;cpage=1#comment-33</link>
		<dc:creator>Sjoerd</dc:creator>
		<pubDate>Tue, 12 Jun 2007 14:23:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.betterthanflex.com/?p=9#comment-33</guid>
		<description>Possible to put the source for the Explorer also online ?

Greetings from holland!</description>
		<content:encoded><![CDATA[<p>Possible to put the source for the Explorer also online ?</p>
<p>Greetings from holland!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sjoerd</title>
		<link>http://www.betterthanflex.com/?p=9&#038;cpage=1#comment-32</link>
		<dc:creator>Sjoerd</dc:creator>
		<pubDate>Tue, 12 Jun 2007 08:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.betterthanflex.com/?p=9#comment-32</guid>
		<description>Very nice gauge !!
Cant wait to use this in my project!</description>
		<content:encoded><![CDATA[<p>Very nice gauge !!<br />
Cant wait to use this in my project!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
