<?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; displayAsPassword</title>
	<atom:link href="http://blog.minidx.com/tag/displayaspassword/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中如何在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中如何通过displayAsPassword属性创建一个可以密码格式显示文本自定义Label的例子</title>
		<link>http://blog.minidx.com/2009/03/08/2264.html</link>
		<comments>http://blog.minidx.com/2009/03/08/2264.html#comments</comments>
		<pubDate>Sun, 08 Mar 2009 13:07:36 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Label]]></category>
		<category><![CDATA[displayAsPassword]]></category>
		<category><![CDATA[textField]]></category>
		<category><![CDATA[truncateToFit]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2264</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过displayAsPassword属性，创建一个可以密码格式显示文本自定义Label。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;!-- http://blog.flexexamples.com/2008/01/27/displaying-a-label-controls-text-as-a-password/ --&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; xmlns:local=&#34;*&#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:HBox&#62;
&#160; &#160; &#160; &#160; &#60;mx:Label&#160;text=&#34;Password:&#34; /&#62;
&#160; &#160; &#160; &#160; &#60;local:MyLabel&#160;id=&#34;lbl&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; text=&#34;The quick brown fox jumped over the lazy dog.&#34;
&#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/03/08/2264.html/feed</wfw:commentRss>
		<slash:comments>0</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>
		<item>
		<title>Flex中如何通过displayAsPassword属性设置TextInput文本显示密码形式(*)的例子</title>
		<link>http://blog.minidx.com/2009/02/02/2057.html</link>
		<comments>http://blog.minidx.com/2009/02/02/2057.html#comments</comments>
		<pubDate>Mon, 02 Feb 2009 00:58:42 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[TextInput]]></category>
		<category><![CDATA[displayAsPassword]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2057</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过displayAsPassword属性，设置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:ApplicationControlBar&#160;dock=&#34;true&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:CheckBox&#160;id=&#34;checkBox&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; label=&#34;displayAsPassword:&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; labelPlacement=&#34;left&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; selected=&#34;true&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; change=&#34;textInput.displayAsPassword [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/02/02/2057.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中利用TitleWindow容器显示状态信息的例子</title>
		<link>http://blog.minidx.com/2008/07/31/1197.html</link>
		<comments>http://blog.minidx.com/2008/07/31/1197.html#comments</comments>
		<pubDate>Thu, 31 Jul 2008 14:43:31 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[displayAsPassword]]></category>
		<category><![CDATA[showCloseButton]]></category>
		<category><![CDATA[TitleWindow]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/07/31/1197.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何利用TitleWindow容器显示状态信息。Demo中的Window可以通过“×”关闭。
让我们先来看一下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&#62;
&#160; &#160; &#160; &#160; TitleWindow {
&#160; &#160; &#160; &#160; &#160; &#160; cornerRadius: 0;
&#160; &#160; &#160; &#160; &#160; &#160; backgroundColor: red;
&#160; &#160; &#160; &#160; &#160; &#160; borderColor: red;
&#160; &#160; &#160; &#160; &#160; &#160; borderAlpha: 1.0;
&#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/07/31/1197.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/28 queries in 0.271 seconds using disk
Object Caching 420/807 objects using disk

Served from: blog.minidx.com @ 2012-02-10 00:47:59 -->
