<?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; LinkButton</title>
	<atom:link href="http://blog.minidx.com/tag/linkbutton/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中通过verticalGap样式设置LinkButton的竖直方向图标和标签之间距离的例子</title>
		<link>http://blog.minidx.com/2008/09/12/1386.html</link>
		<comments>http://blog.minidx.com/2008/09/12/1386.html#comments</comments>
		<pubDate>Fri, 12 Sep 2008 14:58:38 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[labelPlacement]]></category>
		<category><![CDATA[LinkButton]]></category>
		<category><![CDATA[verticalGap]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/09/12/1386.html</guid>
		<description><![CDATA[在前面的Flex中通过horizontalGap样式设置LinkButton控件图标（Icon）和标签（Label）之间间隔距离的例子中，我们了解了Flex中如何通过horizontalGap样式，设置LinkButton控件图标（Icon）和标签（Label）之间间隔距离。类似的，接下来的例子演示了Flex中如何通过verticalGap样式，设置LinkButton的竖直方向图标和标签之间距离。
让我们先来看一下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;LinkButton_verticalGap_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:ApplicationControlBar&#160;dock=&#34;true&#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;verticalGap:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:HSlider&#160;id=&#34;slider&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; minimum=&#34;0&#34;
&#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/09/12/1386.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何扩展LinkButton控件并且添加自定义的样式的例子</title>
		<link>http://blog.minidx.com/2008/09/09/1375.html</link>
		<comments>http://blog.minidx.com/2008/09/09/1375.html#comments</comments>
		<pubDate>Tue, 09 Sep 2008 11:17:04 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[LinkButton]]></category>
		<category><![CDATA[Skin]]></category>
		<category><![CDATA[updateDisplayList]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/09/09/1375.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何扩展LinkButton控件并且添加自定义的样式。
让我们先来看一下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;LinkButton_skin_test&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; xmlns:comps=&#34;comps.*&#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:Form&#160;styleName=&#34;plain&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;enabled:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:CheckBox&#160;id=&#34;checkBox&#34; selected=&#34;true&#34; /&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;/mx:FormItem&#62;
&#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/09/09/1375.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中通过扩展LinkButton类和重载enabled函数以及设置useHandCursor属性移除无效状态下LinkButton手型光标的例子</title>
		<link>http://blog.minidx.com/2008/09/07/1370.html</link>
		<comments>http://blog.minidx.com/2008/09/07/1370.html#comments</comments>
		<pubDate>Sun, 07 Sep 2008 14:47:19 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[enabled]]></category>
		<category><![CDATA[LinkButton]]></category>
		<category><![CDATA[useHandCursor]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/09/07/1370.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过扩展LinkButton类和重载enabled函数以及设置useHandCursor属性，移除无效状态下LinkButton手型光标。Demo中enabled的CheckBox为Off时，后面两个LinkButton鼠标不是手型的。
让我们先来看一下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;LinkButton_useHandCursor_test&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; xmlns:comps=&#34;comps.*&#34;
&#160; &#160; &#160; &#160; layout=&#34;horizontal&#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:Form&#160;styleName=&#34;plain&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;enabled:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:CheckBox&#160;id=&#34;checkBox&#34; selected=&#34;true&#34; /&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;/mx:FormItem&#62;
&#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/09/07/1370.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中通过horizontalGap样式设置LinkButton控件图标（Icon）和标签（Label）之间间隔距离的例子</title>
		<link>http://blog.minidx.com/2008/09/07/1369.html</link>
		<comments>http://blog.minidx.com/2008/09/07/1369.html#comments</comments>
		<pubDate>Sun, 07 Sep 2008 14:23:31 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[horizontalGap]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[labelPlacement]]></category>
		<category><![CDATA[LinkButton]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/09/07/1369.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过horizontalGap样式，设置LinkButton控件图标（Icon）和标签（Label）之间间隔距离。
让我们先来看一下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;LinkButton_horizontalSpacing_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:ApplicationControlBar&#160;dock=&#34;true&#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;horizontalGap:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:HSlider&#160;id=&#34;slider&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; minimum=&#34;0&#34;
&#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/09/07/1369.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中通过扩展LinkButtonSkin和添加自己的selectedUpSkin，selectedOverSkin，selectedDownSkin，selectedDisabledSkin设置LinkButton控件是否保持鼠标按下状态的例子</title>
		<link>http://blog.minidx.com/2008/09/07/1368.html</link>
		<comments>http://blog.minidx.com/2008/09/07/1368.html#comments</comments>
		<pubDate>Sun, 07 Sep 2008 13:34:35 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[LinkButton]]></category>
		<category><![CDATA[LinkButtonSkin]]></category>
		<category><![CDATA[selectedDisabledSkin]]></category>
		<category><![CDATA[selectedDownSkin]]></category>
		<category><![CDATA[selectedOverSkin]]></category>
		<category><![CDATA[selectedUpSkin]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/09/07/1368.html</guid>
		<description><![CDATA[一般按钮鼠标点下离开后，按下的状态 接下来的例子演示了Flex中如何通过扩展LinkButtonSkin和添加自己的selectedUpSkin，selectedOverSkin，selectedDownSkin，selectedDisabledSkin，设置LinkButton控件是否保持鼠标按下状态。
让我们先来看一下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;LinkButton_toggle_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:ApplicationControlBar&#160;dock=&#34;true&#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;toggle:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:CheckBox&#160;id=&#34;toggleCheckBox&#34; /&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;/mx:FormItem&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;selected:&#34;&#62;
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/09/07/1368.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 2.094 seconds using disk
Object Caching 435/839 objects using disk

Served from: blog.minidx.com @ 2012-02-09 20:23:02 -->
