<?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: Setting the step size interval on a Spark NumericStepper control in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ivan Najman</title>
		<link>http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/comment-page-1/#comment-9188</link>
		<dc:creator>Ivan Najman</dc:creator>
		<pubDate>Tue, 03 May 2011 13:58:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/#comment-9188</guid>
		<description></description>
		<content:encoded><![CDATA[]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Najman</title>
		<link>http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/comment-page-1/#comment-9187</link>
		<dc:creator>Ivan Najman</dc:creator>
		<pubDate>Tue, 03 May 2011 13:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/#comment-9187</guid>
		<description>@Tiago

I had same problem so what i`ve used is this as a solution:



 private function discountValueParse(value:String):Number
            {
                return formatter.parseNumber(value);
            }

            private function discountFormat(value:Number):String
            {
                return formatter.format(value);
            }

And formatter is defined in declarations tag:


        
    </description>
		<content:encoded><![CDATA[<p>@Tiago</p>
<p>I had same problem so what i`ve used is this as a solution:</p>
<p> private function discountValueParse(value:String):Number<br />
            {<br />
                return formatter.parseNumber(value);<br />
            }</p>
<p>            private function discountFormat(value:Number):String<br />
            {<br />
                return formatter.format(value);<br />
            }</p>
<p>And formatter is defined in declarations tag:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiago Lopes da Costa</title>
		<link>http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/comment-page-1/#comment-9047</link>
		<dc:creator>Tiago Lopes da Costa</dc:creator>
		<pubDate>Tue, 15 Mar 2011 01:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/#comment-9047</guid>
		<description>I have a problem with decimal stepSize, it looks like a problem with the component.

When set the StepSize or the SnapInterval to something like &quot;0.01&quot;, the stepper goes straight to the maximum value and then it goes completely crazy.</description>
		<content:encoded><![CDATA[<p>I have a problem with decimal stepSize, it looks like a problem with the component.</p>
<p>When set the StepSize or the SnapInterval to something like &#8220;0.01&#8243;, the stepper goes straight to the maximum value and then it goes completely crazy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/comment-page-1/#comment-7465</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 08 Apr 2010 23:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/#comment-7465</guid>
		<description>@Marcus Fritze,

Correct, thanks. I updated the example code above to reflect the latest API changes (but I haven&#039;t had a chance to create a new SWF or source ZIP, so if you download the source from the view source you&#039;ll still see the old APIs).

Peter</description>
		<content:encoded><![CDATA[<p>@Marcus Fritze,</p>
<p>Correct, thanks. I updated the example code above to reflect the latest API changes (but I haven&#8217;t had a chance to create a new SWF or source ZIP, so if you download the source from the view source you&#8217;ll still see the old APIs).</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Fritze</title>
		<link>http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/comment-page-1/#comment-7464</link>
		<dc:creator>Marcus Fritze</dc:creator>
		<pubDate>Thu, 08 Apr 2010 19:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/05/29/setting-the-value-interval-on-a-spark-numericstepper-control-in-flex-4/#comment-7464</guid>
		<description>it seems that valueInterval was renamed to snapInterval in the final release?!</description>
		<content:encoded><![CDATA[<p>it seems that valueInterval was renamed to snapInterval in the final release?!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

