<?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>joel&#039;s FLEX blog &#187; LinkButton</title>
	<atom:link href="http://blog.desizen.com/TAG/linkbutton/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.desizen.com</link>
	<description>FLEX,网络安全,Linux</description>
	<lastBuildDate>Fri, 13 May 2011 02:18:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>FLEX例子之链接按钮(LinkButton)</title>
		<link>http://blog.desizen.com/4lone/426.html</link>
		<comments>http://blog.desizen.com/4lone/426.html#comments</comments>
		<pubDate>Thu, 05 Feb 2009 05:34:59 +0000</pubDate>
		<dc:creator>baby</dc:creator>
				<category><![CDATA[FLEX]]></category>
		<category><![CDATA[LinkButton]]></category>
		<category><![CDATA[TourDeFlex]]></category>
		<category><![CDATA[例子]]></category>

		<guid isPermaLink="false">http://www.joelove.cn/?p=426</guid>
		<description><![CDATA[这个例子进行的是UI Controls:Buttons:LinkButton 本文用到的图片资源:点此下载 简介: The LinkButton control is a borderless Button control whose contents are highlighted when a user moves the mouse over it. These traits are often exhibited by HTML links contained within a browser page. In order for the LinkButton control to perform some action, you must specify a click event handler, as [...]]]></description>
			<content:encoded><![CDATA[<p>这个例子进行的是UI Controls:Buttons:<a href="http://blog.desizen.com/TAG/linkbutton" class="st_tag internal_tag" rel="tag" title="Posts tagged with LinkButton">LinkButton</a><span id="more-426"></span><br />
本文用到的图片资源:<a href='http://www.joelove.cn/wp-content/uploads/2009/01/assets.rar'>点此下载</a><br />
简介:<br />
The <a href="http://blog.desizen.com/TAG/linkbutton" class="st_tag internal_tag" rel="tag" title="Posts tagged with LinkButton">LinkButton</a> control is a borderless Button control whose contents are highlighted when a user moves the mouse over it. These traits are often exhibited by HTML links contained within a browser page. In order for the <a href="http://blog.desizen.com/TAG/linkbutton" class="st_tag internal_tag" rel="tag" title="Posts tagged with LinkButton">LinkButton</a> control to perform some action, you must specify a click event handler, as you do with a Button control.<br />
例子:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout=<span style="color: #ff0000;">&quot;horizontal&quot;</span> verticalAlign=<span style="color: #ff0000;">&quot;middle&quot;</span></span>
<span style="color: #000000;">	horizontalAlign=<span style="color: #ff0000;">&quot;center&quot;</span> backgroundGradientColors=<span style="color: #ff0000;">&quot;[0x000000,0x323232]&quot;</span> viewSourceURL=<span style="color: #ff0000;">&quot;srcview/index.html&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
	<span style="color: #339933;">&lt;mx:Script&gt;</span>
<span style="color: #339933;">		&lt;![CDATA[</span>
<span style="color: #339933;">			import mx.controls.Alert;</span>
<span style="color: #339933;">		]]&gt;</span>
<span style="color: #339933;">	&lt;/mx:Script&gt;</span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Panel</span> title=<span style="color: #ff0000;">&quot;LinkButton Sample&quot;</span> layout=<span style="color: #ff0000;">&quot;vertical&quot;</span> color=<span style="color: #ff0000;">&quot;0xffffff&quot;</span> borderAlpha=<span style="color: #ff0000;">&quot;0.15&quot;</span></span>
<span style="color: #000000;">		 paddingTop=<span style="color: #ff0000;">&quot;10&quot;</span> paddingRight=<span style="color: #ff0000;">&quot;10&quot;</span> paddingBottom=<span style="color: #ff0000;">&quot;10&quot;</span> paddingLeft=<span style="color: #ff0000;">&quot;10&quot;</span> horizontalAlign=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
		<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Text</span> color=<span style="color: #ff0000;">&quot;0x323232&quot;</span> text=<span style="color: #ff0000;">&quot;Sample of image embeded at compile time.&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
		<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:LinkButton</span> label=<span style="color: #ff0000;">&quot;LinkButton Control&quot;</span> color=<span style="color: #ff0000;">&quot;0x3380DD&quot;</span> click=<span style="color: #ff0000;">&quot;{Alert.show('LinkButton Pressed');}&quot;</span></span>
<span style="color: #000000;">			 textDecoration=<span style="color: #ff0000;">&quot;underline&quot;</span> fontWeight=<span style="color: #ff0000;">&quot;normal&quot;</span> icon=<span style="color: #ff0000;">&quot;@Embed('assets/arrow_icon_blue.png')&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
			 <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!--textDecoration是定义字体样式,underline是表示下划线--&gt;</span></span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Panel</span><span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>


	标签：<a href="http://blog.desizen.com/TAG/flex" title="FLEX" rel="tag">FLEX</a>, <a href="http://blog.desizen.com/TAG/linkbutton" title="LinkButton" rel="tag">LinkButton</a>, <a href="http://blog.desizen.com/TAG/tourdeflex" title="TourDeFlex" rel="tag">TourDeFlex</a>, <a href="http://blog.desizen.com/TAG/%e4%be%8b%e5%ad%90" title="例子" rel="tag">例子</a><br />

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://blog.desizen.com/4lone/199.html" title="KingCMS之模块管理 (2008年10月27日)">KingCMS之模块管理</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/647.html" title="说说最近的事 (2009年4月3日)">说说最近的事</a> (1)</li>
	<li><a href="http://blog.desizen.com/4lone/48.html" title="flex 入门教程 (2008年8月18日)">flex 入门教程</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/271.html" title="FLEX例子之下拉列表框(ComboBox) (2008年12月23日)">FLEX例子之下拉列表框(ComboBox)</a> (1)</li>
	<li><a href="http://blog.desizen.com/4lone/527.html" title="FLEX例子之横向列表(HorizontalList) (2009年2月25日)">FLEX例子之横向列表(HorizontalList)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/535.html" title="FLEX例子之高级数据表(AdvancedDataGrid) (2009年2月25日)">FLEX例子之高级数据表(AdvancedDataGrid)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/63.html" title="FLEX中嵌入html代码 (2008年8月25日)">FLEX中嵌入html代码</a> (1)</li>
	<li><a href="http://blog.desizen.com/4lone/305.html" title="FLEX例子之富文本编辑器(RichTextEditor) (2008年12月30日)">FLEX例子之富文本编辑器(RichTextEditor)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/551.html" title="FLEX例子之颜色拾取器(ColorPicker) (2009年3月4日)">FLEX例子之颜色拾取器(ColorPicker)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/186.html" title="FLEX作品&#8211;地图控件 (2008年10月23日)">FLEX作品&#8211;地图控件</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://blog.desizen.com/4lone/426.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

