<?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; TextInput</title>
	<atom:link href="http://blog.minidx.com/tag/textinput/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 Gumbo中如何利用＜Style/＞自定义Button和TextInput的例子</title>
		<link>http://blog.minidx.com/2009/08/04/2807.html</link>
		<comments>http://blog.minidx.com/2009/08/04/2807.html#comments</comments>
		<pubDate>Tue, 04 Aug 2009 14:34:25 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Button]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[TextInput]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2807</guid>
		<description><![CDATA[接下来的例子演示了Flex Gumbo中如何利用＜Style/＞自定义Button和TextInput。编译本例需要5873 (4.0.0.5873) 或者更新的才可以。 
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;FxGumbo_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;s:layout&#62;
&#160; &#160; &#160; &#160; &#60;s:BasicLayout&#160;/&#62;
&#160; &#160; &#60;/s:layout&#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; @namespace mx &#34;library://ns.adobe.com/flex/halo&#34;;
&#160;
&#160; &#160; &#160; &#160; global {
&#160; &#160; &#160; &#160; &#160; &#160; color: red;
&#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/08/04/2807.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过horizontalScrollPosition属性设置TextInput横向滚动条位置的例子</title>
		<link>http://blog.minidx.com/2009/06/29/2660.html</link>
		<comments>http://blog.minidx.com/2009/06/29/2660.html#comments</comments>
		<pubDate>Mon, 29 Jun 2009 00:37:24 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[TextInput]]></category>
		<category><![CDATA[horizontalScrollPosition]]></category>
		<category><![CDATA[maxHorizontalScrollPosition]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2660</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过horizontalScrollPosition属性，设置TextInput横向滚动条位置。
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;name=&#34;TextInput_horizontalScrollPosition_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:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private function textInput_change(evt:Event):void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; slider.maximum = textInput.maxHorizontalScrollPosition;
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; ]]&#62;
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/06/29/2660.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Gumbo中如何通过contentBackgroundColor样式设置TextInput内文本背景颜色的例子</title>
		<link>http://blog.minidx.com/2009/06/08/2585.html</link>
		<comments>http://blog.minidx.com/2009/06/08/2585.html#comments</comments>
		<pubDate>Mon, 08 Jun 2009 00:33:54 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[TextInput]]></category>
		<category><![CDATA[contentBackgroundColor]]></category>
		<category><![CDATA[needsSWF]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2585</guid>
		<description><![CDATA[接下来的例子演示了Flex Gumbo中如何通过contentBackgroundColor样式，设置TextInput内文本背景颜色。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_TextInput_contentBackgroundColor_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;mx:ApplicationControlBar&#160;width=&#34;100%&#34; cornerRadius=&#34;0&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:Form&#160;styleName=&#34;plain&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;contentBackgroundColor:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:ColorPicker&#160;id=&#34;colorPicker&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; selectedColor=&#34;#FFFFFF&#34;&#160;/&#62;
&#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/06/08/2585.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何在displayAsPassword为true控件TextInput密码显示时鼠标移上去时显示内容的例子</title>
		<link>http://blog.minidx.com/2009/03/09/2268.html</link>
		<comments>http://blog.minidx.com/2009/03/09/2268.html#comments</comments>
		<pubDate>Mon, 09 Mar 2009 13:17:13 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[TextInput]]></category>
		<category><![CDATA[displayAsPassword]]></category>
		<category><![CDATA[toolTip]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2268</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何在displayAsPassword为true控件TextInput密码显示时，鼠标移上去时显示内容。
让我们先来看一下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; import mx.formatters.DateBase;
&#160; &#160; &#160; &#160; ]]&#62;
&#160; &#160; &#60;/mx:Script&#62;
&#160;
&#160; &#160; &#60;mx:Form&#62;
&#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;Name:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:TextInput&#160;id=&#34;ccName&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/03/09/2268.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过监听focusIn和focusOut事件在通过displayAsPassword属性固定密码格式显示TextInput文本框获取焦点时显示文本的例子</title>
		<link>http://blog.minidx.com/2009/03/08/2262.html</link>
		<comments>http://blog.minidx.com/2009/03/08/2262.html#comments</comments>
		<pubDate>Sun, 08 Mar 2009 13:01:56 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[TextInput]]></category>
		<category><![CDATA[displayAsPassword]]></category>
		<category><![CDATA[focusIn]]></category>
		<category><![CDATA[focusOut]]></category>
		<category><![CDATA[PopUpManager]]></category>
		<category><![CDATA[removePopUp]]></category>
		<category><![CDATA[setTimeout()]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2262</guid>
		<description><![CDATA[这个标题比较长，其实是之前的Flex中如何通过displayAsPassword属性设置TextInput文本显示密码形式(*)的例子的延伸，接下来的例子演示了Flex中如何通过监听focusIn和focusOut事件，在通过displayAsPassword属性固定密码格式显示文本框获取焦点时显示文本。
让我们先来看一下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; import mx.controls.Alert;
&#160; &#160; &#160; &#160; &#160; &#160; import mx.managers.PopUpManager;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private var alert:Alert;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function submit_click():void {
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/03/08/2262.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 using disk
Object Caching 418/803 objects using disk

Served from: blog.minidx.com @ 2012-02-09 19:53:03 -->
