<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>中文Flex例子 &#187; NumericStepper</title>
	<atom:link href="http://blog.minidx.com/category/flex/numericstepper-flex/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.minidx.com</link>
	<description>中文Adobe Flex例子,Flex实例教程,RIA资源,全文检索技术,算法和数据结构</description>
	<lastBuildDate>Thu, 31 Mar 2011 03:22:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex 4中如何创建不可编辑NumericStepper的例子</title>
		<link>http://blog.minidx.com/2009/10/08/2965.html</link>
		<comments>http://blog.minidx.com/2009/10/08/2965.html#comments</comments>
		<pubDate>Thu, 08 Oct 2009 15:32:31 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[NumericStepper]]></category>
		<category><![CDATA[editable]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2965</guid>
		<description><![CDATA[接下来的例子演示了Flex 4中如何通过NumericStepper的editable属性，创建不可编辑NumericStepper。
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_NumericStepper_textInput_editable_test&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#62;
&#160;
&#160; &#160; &#60;fx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private function init():void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; numericStepper.textInput.editable = false;
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; ]]&#62;
&#160; &#160; &#60;/fx:Script&#62;
&#160;
&#160; &#160; &#60;s:NumericStepper&#160;id=&#34;numericStepper&#34;
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/10/08/2965.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex 4中如何格式化显示NumericStepper的例子</title>
		<link>http://blog.minidx.com/2009/09/22/2937.html</link>
		<comments>http://blog.minidx.com/2009/09/22/2937.html#comments</comments>
		<pubDate>Tue, 22 Sep 2009 08:08:41 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[NumericStepper]]></category>
		<category><![CDATA[displayFormatFunction]]></category>
		<category><![CDATA[extractValueFunction]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2937</guid>
		<description><![CDATA[接下来的例子演示了Flex 4中如何通过displayFormatFunction和extractValueFunction属性，格式化显示NumericStepper。 
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_NumericStepper_extractValueFunction_test&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#62;
&#160;
&#160; &#160; &#60;fx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private function displayFmtFunc(value:Number):String {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; return value + &#34;mm&#34;;
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/09/22/2937.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 4中如何设置NumericStepper竖直方向对齐方式的例子</title>
		<link>http://blog.minidx.com/2009/09/15/2927.html</link>
		<comments>http://blog.minidx.com/2009/09/15/2927.html#comments</comments>
		<pubDate>Tue, 15 Sep 2009 13:08:48 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[NumericStepper]]></category>
		<category><![CDATA[verticalAlign]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2927</guid>
		<description><![CDATA[接下来的例子演示了Flex 4中如何通过verticalAlign样式，设置NumericStepper竖直方向对齐方式。 
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_NumericStepper_textInput_textView_verticalAlign_test&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#62;
&#160; &#160; &#60;fx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; import mx.events.IndexChangedEvent;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function dropDownList_selectionChanged(evt:IndexChangedEvent):void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; numericStepper.textInput.textView.setStyle(&#34;verticalAlign&#34;, dropDownList.selectedItem);
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/09/15/2927.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Gumbo中如何创建渐变背景颜色NumericStepper的例子</title>
		<link>http://blog.minidx.com/2009/08/24/2859.html</link>
		<comments>http://blog.minidx.com/2009/08/24/2859.html#comments</comments>
		<pubDate>Mon, 24 Aug 2009 15:30:17 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[NumericStepper]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[lineargradient]]></category>
		<category><![CDATA[skinClass]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2859</guid>
		<description><![CDATA[接下来的Flex Gumbo中如何利用LinearGradient对象和skinClass样式，创建渐变背景颜色NumericStepper。 








下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_NumericStepper_skinClass_test&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#62;
&#160;
&#160; &#160; &#60;s:NumericStepper&#160;id=&#34;numericStepper&#34;
&#160; &#160; &#160; &#160; &#160; &#160; skinClass=&#34;skins.CustomNumericStepperSkin&#34;
&#160; &#160; &#160; &#160; &#160; &#160; horizontalCenter=&#34;0&#34;
&#160; &#160; &#160; &#160; &#160; &#160; verticalCenter=&#34;0&#34;&#160;/&#62;
&#160;
&#60;/s:Application&#62;
下面是Skin类Skins/CustomNumericStepperSkin.mxml的代码：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:SparkSkin&#160;name=&#34;CustomNumericStepperSkin&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;
&#160; &#160; &#160; &#160; minHeight=&#34;24&#34;
&#160; &#160; &#160; &#160; alpha.disabled=&#34;0.5&#34;&#62;
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/08/24/2859.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Gumbo中如何通过digitWidth样式设置NumericStepper数字宽度的例子</title>
		<link>http://blog.minidx.com/2009/08/08/2819.html</link>
		<comments>http://blog.minidx.com/2009/08/08/2819.html#comments</comments>
		<pubDate>Sat, 08 Aug 2009 00:27:36 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[NumericStepper]]></category>
		<category><![CDATA[digitWidth]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2819</guid>
		<description><![CDATA[接下来的Flex Gumbo中如何通过digitWidth样式，设置NumericStepper数字宽度。 








下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;&#62;
&#160;
&#160; &#160; &#60;fx:Style&#62;
&#160; &#160; &#160; &#160; @namespace s &#34;library://ns.adobe.com/flex/spark&#34;;
&#160;
&#160; &#160; &#160; &#160; @font-face {
&#160; &#160; &#160; &#160; &#160; &#160; src: url(&#34;ArnoPro-Regular.otf&#34;);
&#160; &#160; &#160; &#160; &#160; &#160; fontFamily: ArnoEmb;
&#160; &#160; &#160; &#160; &#160; &#160; cff: true;
&#160; &#160; &#160; &#160; }
&#160;
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/08/08/2819.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/21 queries in 0.606 seconds using disk
Object Caching 412/772 objects using disk

Served from: blog.minidx.com @ 2012-02-10 01:50:58 -->
