<?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; Form</title>
	<atom:link href="http://blog.minidx.com/tag/form/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中如何利用labelStyleName样式设置FormItem容器个别标签颜色的例子</title>
		<link>http://blog.minidx.com/2008/11/24/1646.html</link>
		<comments>http://blog.minidx.com/2008/11/24/1646.html#comments</comments>
		<pubDate>Mon, 24 Nov 2008 13:57:34 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[FormItem]]></category>
		<category><![CDATA[Form]]></category>
		<category><![CDATA[FormHeading]]></category>
		<category><![CDATA[labelStyleName]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1646</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何利用labelStyleName样式，设置FormItem容器个别标签颜色。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#160;source=&#34;embeddedFonts.css&#34; /&#62;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; Form {
&#160; &#160; &#160; &#160; &#160; &#160; fontFamily: ArialEmbedded;
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; FormHeading {
&#160; &#160; &#160; &#160; &#160; &#160; color: haloSilver;
&#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/11/24/1646.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何利用indicatorGap样式设置一个Form表单空间间隔的例子</title>
		<link>http://blog.minidx.com/2008/11/14/1625.html</link>
		<comments>http://blog.minidx.com/2008/11/14/1625.html#comments</comments>
		<pubDate>Fri, 14 Nov 2008 15:07:42 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Form]]></category>
		<category><![CDATA[FormItem]]></category>
		<category><![CDATA[indicatorGap]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1625</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何利用indicatorGap样式，设置一个Form表单空间间隔。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;
&#160; &#160; &#160; &#160; creationComplete=&#34;init();&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; FormItem {
&#160; &#160; &#160; &#160; &#160; &#160; backgroundColor: haloSilver;
&#160; &#160; &#160; &#160; }
&#160; &#160; &#60;/mx:Style&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; import mx.events.SliderEvent;
&#160;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/11/14/1625.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何改变FormItem容器的指示器（indicator）皮肤的例子</title>
		<link>http://blog.minidx.com/2008/10/14/1523.html</link>
		<comments>http://blog.minidx.com/2008/10/14/1523.html#comments</comments>
		<pubDate>Tue, 14 Oct 2008 12:48:17 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[FormItem]]></category>
		<category><![CDATA[Form]]></category>
		<category><![CDATA[FormHeading]]></category>
		<category><![CDATA[indicatorGap]]></category>
		<category><![CDATA[indicatorSkin]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1523</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何改变FormItem容器的指示器（indicator）皮肤。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;top&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; FormItem {
&#160; &#160; &#160; &#160; &#160; &#160; indicatorSkin: Embed(source=&#34;assets/asterisk_yellow.png&#34;);
&#160; &#160; &#160; &#160; &#160; &#160; indicatorGap: 24; /* pixels */
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; FormItemLabel {
&#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/10/14/1523.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中创建一个简单计算器的例子</title>
		<link>http://blog.minidx.com/2008/10/05/1479.html</link>
		<comments>http://blog.minidx.com/2008/10/05/1479.html#comments</comments>
		<pubDate>Sun, 05 Oct 2008 04:22:45 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[CurrencyFormatter]]></category>
		<category><![CDATA[focusIn]]></category>
		<category><![CDATA[focusOut]]></category>
		<category><![CDATA[Form]]></category>
		<category><![CDATA[FormItem]]></category>
		<category><![CDATA[HSlider]]></category>
		<category><![CDATA[TextInput]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1479</guid>
		<description><![CDATA[接下来的例子演示了Flex中创建一个简单计算器。严格来说这个还不能算是计算器，只是简单的计算了增加百分比的计算。在“Amount”中输入数字并拖动滑标，可以看到计算结果。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private function updateTotal():void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var amt:Number = parseFloat(amount.data.toString());
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if (isNaN(amt)) {
&#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/10/05/1479.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过includeInLayout和visible属性设置Form容器内FormItem的显示与否的例子</title>
		<link>http://blog.minidx.com/2008/10/04/1473.html</link>
		<comments>http://blog.minidx.com/2008/10/04/1473.html#comments</comments>
		<pubDate>Sat, 04 Oct 2008 08:49:05 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[FormItem]]></category>
		<category><![CDATA[Form]]></category>
		<category><![CDATA[includeInLayout]]></category>
		<category><![CDATA[visible]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1473</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过includeInLayout和visible属性，设置Form容器内FormItem的显示与否。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;name=&#34;FormItem_includeInLayout_test&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; Form {
&#160; &#160; &#160; &#160; &#160; &#160; indicatorGap: 0;
&#160; &#160; &#160; &#160; &#160; &#160; paddingLeft: 0;
&#160; &#160; &#160; &#160; &#160; &#160; paddingRight: 0;
&#160; &#160; &#160; &#160; &#160; &#160; paddingTop: [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/10/04/1473.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/22 queries in 0.018 seconds using disk
Object Caching 432/815 objects using disk

Served from: blog.minidx.com @ 2012-02-09 16:09:44 -->
