<?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; PopUpButton</title>
	<atom:link href="http://blog.minidx.com/tag/popupbutton/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中如何将Tree作为PopUpButton的弹出菜单的例子</title>
		<link>http://blog.minidx.com/2009/04/21/2380.html</link>
		<comments>http://blog.minidx.com/2009/04/21/2380.html#comments</comments>
		<pubDate>Tue, 21 Apr 2009 00:20:27 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[PopUpButton]]></category>
		<category><![CDATA[Tree]]></category>
		<category><![CDATA[popUp]]></category>
		<category><![CDATA[Tree.]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2380</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何将Tree作为PopUpButton的弹出菜单。
让我们先来看一下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; Tree {
&#160; &#160; &#160; &#160; &#160; &#160; textAlign: left;
&#160; &#160; &#160; &#160; &#160; &#160; fontWeight: normal;
&#160; &#160; &#160; &#160; }
&#160; &#160; &#60;/mx:Style&#62;
&#160;
&#160; &#160; &#60;mx:XML&#160;id=&#34;mlb&#34; source=&#34;mlb.xml&#34; /&#62;
&#160;
&#160; &#160; &#60;mx:ApplicationControlBar&#160;dock=&#34;true&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:PopUpButton&#160;label=&#34;Please select [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/04/21/2380.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过监听open和close事件监测PopUpButton下拉菜单打开/关闭状态的例子</title>
		<link>http://blog.minidx.com/2009/04/08/2356.html</link>
		<comments>http://blog.minidx.com/2009/04/08/2356.html#comments</comments>
		<pubDate>Wed, 08 Apr 2009 00:21:10 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[PopUpButton]]></category>
		<category><![CDATA[CLOSE]]></category>
		<category><![CDATA[open.]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2356</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过监听open和close事件，监测PopUpButton下拉菜单打开/关闭状态。
让我们先来看一下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; PopUpButton {
&#160; &#160; &#160; &#160; &#160; &#160; popUpStyleName: myCustomPopUpStyleName;
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; .myCustomPopUpStyleName {
&#160; &#160; &#160; &#160; &#160;&#160; fontWeight: normal;
&#160; &#160; &#160; &#160; &#160;&#160; textAlign: left;
&#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/04/08/2356.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何利用dataDescriptor属性和isToggled()函数判断PopUpButton的下拉选项是否选中的例子</title>
		<link>http://blog.minidx.com/2009/03/31/2328.html</link>
		<comments>http://blog.minidx.com/2009/03/31/2328.html#comments</comments>
		<pubDate>Tue, 31 Mar 2009 00:12:14 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[PopUpButton]]></category>
		<category><![CDATA[dataDescriptor]]></category>
		<category><![CDATA[getType()]]></category>
		<category><![CDATA[isToggled()]]></category>
		<category><![CDATA[Menu]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2328</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何利用dataDescriptor属性和isToggled()函数，判断PopUpButton的下拉选项是否选中。
让我们先来看一下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; PopUpButton {
&#160; &#160; &#160; &#160; &#160; &#160; popUpStyleName: MyCustomPopUpStyleName;
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; .MyCustomPopUpStyleName {
&#160; &#160; &#160; &#160; &#160; &#160; fontWeight: normal;
&#160; &#160; &#160; &#160; &#160; &#160; textAlign: left;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/03/31/2328.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何利用openAlways属性在用户点击PopUpButton主按钮时弹出菜单的例子</title>
		<link>http://blog.minidx.com/2009/03/24/2309.html</link>
		<comments>http://blog.minidx.com/2009/03/24/2309.html#comments</comments>
		<pubDate>Tue, 24 Mar 2009 00:27:42 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[PopUpButton]]></category>
		<category><![CDATA[openAlways]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2309</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何利用openAlways属性，在用户点击PopUpButton主按钮时弹出菜单。Flex中默认该属性为false
让我们先来看一下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; PopUpButton {
&#160; &#160; &#160; &#160; &#160; &#160; popUpStyleName: myCustomPopUpStyleName;
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; .myCustomPopUpStyleName {
&#160; &#160; &#160; &#160; &#160; &#160; fontWeight: normal;
&#160; &#160; &#160; &#160; &#160; &#160; textAlign: left;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/03/24/2309.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过监听click事件检测PopUpButton的主按钮是否被按下的例子</title>
		<link>http://blog.minidx.com/2009/03/23/2307.html</link>
		<comments>http://blog.minidx.com/2009/03/23/2307.html#comments</comments>
		<pubDate>Mon, 23 Mar 2009 00:44:14 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[PopUpButton]]></category>
		<category><![CDATA[click]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2307</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过监听click事件，检测PopUpButton的主按钮是否被按下。
让我们先来看一下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; PopUpButton {
&#160; &#160; &#160; &#160; &#160; &#160; pop-up-style-name: myCustomPopUpStyleName;
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; .myCustomPopUpStyleName {
&#160; &#160; &#160; &#160; &#160; &#160; fontWeight: normal;
&#160; &#160; &#160; &#160; &#160; &#160; textAlign: left;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/03/23/2307.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 411/783 objects using disk

Served from: blog.minidx.com @ 2012-02-09 21:36:52 -->
