﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-云下的天空-随笔分类-Flex4</title><link>http://www.blogjava.net/liuwuping12064915/category/48792.html</link><description>       坚持          随心而动        走自己的路</description><language>zh-cn</language><lastBuildDate>Tue, 07 Jun 2011 15:33:12 GMT</lastBuildDate><pubDate>Tue, 07 Jun 2011 15:33:12 GMT</pubDate><ttl>60</ttl><item><title>（转载）冒泡事件理解3  </title><link>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351789.html</link><dc:creator>天空布蓝</dc:creator><author>天空布蓝</author><pubDate>Sun, 05 Jun 2011 14:29:00 GMT</pubDate><guid>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351789.html</guid><wfw:comment>http://www.blogjava.net/liuwuping12064915/comments/351789.html</wfw:comment><comments>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351789.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuwuping12064915/comments/commentRss/351789.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuwuping12064915/services/trackbacks/351789.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp; 我花了一天的时间总算理解了冒泡事件 &nbsp;这篇文章给了我很大的帮助&nbsp; 原文链接：http://enboga.iteye.com/blog/2147808.2 事件机制的工作流程&nbsp;8.2.1 关于事件流&nbsp;目标对象：派发事件的对象当事件发生后生成一个携带数据的对象，然后检查目标对象是否存在显示层中，并遍历从根容器一直到目标对象所在位置的所有...&nbsp;&nbsp;<a href='http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351789.html'>阅读全文</a><img src ="http://www.blogjava.net/liuwuping12064915/aggbug/351789.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuwuping12064915/" target="_blank">天空布蓝</a> 2011-06-05 22:29 <a href="http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351789.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>（转载）冒泡事件理解2</title><link>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351782.html</link><dc:creator>天空布蓝</dc:creator><author>天空布蓝</author><pubDate>Sun, 05 Jun 2011 10:08:00 GMT</pubDate><guid>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351782.html</guid><wfw:comment>http://www.blogjava.net/liuwuping12064915/comments/351782.html</wfw:comment><comments>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351782.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuwuping12064915/comments/commentRss/351782.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuwuping12064915/services/trackbacks/351782.html</trackback:ping><description><![CDATA[<span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; "><p style="font-size: 13px; line-height: 1.4; ">1.</p><p style="font-size: 13px; line-height: 1.4; ">项目 右键 新建 包</p><p style="font-size: 13px; line-height: 1.4; ">右键单击新建的包，新建 actionscript类</p><p style="font-size: 13px; line-height: 1.4; ">代码如下(代码1)</p><blockquote style="line-height: 19px; font-style: italic; font-size: 11.5px; "><p style="font-size: 13px; line-height: 1.4; ">package btnEvents<br />{<br />&nbsp;&nbsp;&nbsp; import flash.events.Event;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp; public class btnEvent1 extends Event<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static var EVENT_NAME:String="customEvent";</p><p style="font-size: 13px; line-height: 1.4; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //该事件所携带的数据<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public var EventData:String;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public function btnEvent1(type:String, bubbles:Boolean=false, cancelable:Boolean=false)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; super(type, bubbles, cancelable);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; }<br />}</p></blockquote><p style="font-size: 13px; line-height: 1.4; ">&nbsp;</p><p style="font-size: 13px; line-height: 1.4; ">2.</p><p style="font-size: 13px; line-height: 1.4; ">主MXML文件如下所示</p><blockquote style="line-height: 19px; font-style: italic; font-size: 11.5px; "><p style="font-size: 13px; line-height: 1.4; ">&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />&lt;s:Application xmlns:fx="<a href="http://ns.adobe.com/mxml/2009%22" style="color: navy; text-decoration: none; ">http://ns.adobe.com/mxml/2009"</a>&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlns:s="library://ns.adobe.com/flex/spark"&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:Modules="Modules.*"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; creationComplete="init()"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;</p><p style="font-size: 13px; line-height: 1.4; ">&nbsp;&nbsp;&nbsp; &lt;fx:Script&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;![CDATA[<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; import btnEvents.btnEvent1;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private function init():void{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.addEventListener(btnEvent1.EVENT_NAME,appCatchMyEvent,true);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.panel1.addEventListener(btnEvent1.EVENT_NAME,panelCatchEvent,true);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private function sendEvent(flag:int):void{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var Event:btnEvent1=new btnEvent1(btnEvent1.EVENT_NAME);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(flag == 1){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Event.EventData = "内部按钮";<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; btn1.dispatchEvent(Event);//将事件分派到事件流中<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }else{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Event.EventData = "外部按钮";<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; btn2.dispatchEvent(Event);//将事件分派到事件流中<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private function appCatchMyEvent(par_event:btnEvent1):void{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; label1.text += par_event.currentTarget.id+par_event.EventData;//currentTarget是传播路径上的当前捕捉者<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private function panelCatchEvent(par_event:btnEvent1):void{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; label1.text += par_event.currentTarget.id+par_event.EventData;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]]&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/fx:Script&gt;</p><p style="font-size: 13px; line-height: 1.4; ">&nbsp;&nbsp;&nbsp; &lt;fx:Declarations&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- 将非可视元素（例如服务、值对象）放在此处 --&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/fx:Declarations&gt;<br />&nbsp;&nbsp;&nbsp; &lt;s:Panel id="panel1" x="198" y="128" width="250" height="200"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;s:Button click="sendEvent(1)" id="btn1" x="89" y="61" label="内部BTN"/&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/s:Panel&gt;<br />&nbsp;&nbsp;&nbsp; &lt;s:Button id="btn2" click="sendEvent(2)" x="378" y="360" label="外部BTN"/&gt;<br />&nbsp;&nbsp;&nbsp; &lt;s:Label id="label1" x="198" y="66" text="事件来自～～～～" width="189"/&gt;</p><p style="font-size: 13px; line-height: 1.4; ">&lt;/s:Application&gt;</p></blockquote><p style="font-size: 13px; line-height: 1.4; ">3.</p><p style="font-size: 13px; line-height: 1.4; ">运行程序</p><p style="font-size: 13px; line-height: 1.4; ">点击&#8220;内部BTN：</p><p style="font-size: 13px; line-height: 1.4; ">结果如图所示</p><p style="font-size: 13px; line-height: 1.4; "><a href="http://images.cnblogs.com/cnblogs_com/liulun/Windows-Live-Writer/FLEXFLASH-_13BA2/image_2.png" style="color: navy; text-decoration: none; "><img title="image" src="http://images.cnblogs.com/cnblogs_com/liulun/Windows-Live-Writer/FLEXFLASH-_13BA2/image_thumb.png" border="0" alt="image" width="278" height="363" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; " /></a></p><p style="font-size: 13px; line-height: 1.4; ">大家可以看到<br />事件是从外层容器到内层容器依次执行的</p><p style="font-size: 13px; line-height: 1.4; ">&nbsp;</p><p style="font-size: 13px; line-height: 1.4; ">4.</p><p style="font-size: 13px; line-height: 1.4; ">刷新页面</p><p style="font-size: 13px; line-height: 1.4; ">点击&#8220;外部BTN&#8221;</p><p style="font-size: 13px; line-height: 1.4; ">结果如图所示</p><p style="font-size: 13px; line-height: 1.4; "><a href="http://images.cnblogs.com/cnblogs_com/liulun/Windows-Live-Writer/FLEXFLASH-_13BA2/image_4.png" style="color: navy; text-decoration: none; "><img title="image" src="http://images.cnblogs.com/cnblogs_com/liulun/Windows-Live-Writer/FLEXFLASH-_13BA2/image_thumb_1.png" border="0" alt="image" width="273" height="353" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; " /></a></p><p style="font-size: 13px; line-height: 1.4; ">因为事件的引发者没有在panl1中所以不会再触发panel1的事件了</p><p style="font-size: 13px; line-height: 1.4; ">&nbsp;</p><p style="font-size: 13px; line-height: 1.4; "><strong><span style="line-height: 1.5; font-size: 14pt; ">以上说的都是非冒泡事件，事件的执行顺序是从外层容器到内层容器执行的</span></strong></p><p style="font-size: 13px; line-height: 1.4; ">&nbsp;</p><p style="font-size: 13px; line-height: 1.4; ">5.</p><p style="font-size: 13px; line-height: 1.4; ">如果要在事件冒泡阶段捕捉事件</p><p style="font-size: 13px; line-height: 1.4; ">创建事件的代码为</p><p style="font-size: 13px; line-height: 1.4; ">var Event:btnEvent1=new btnEvent1(btnEvent1.EVENT_NAME,true);//最后一个参数bubbles应为true</p><p style="font-size: 13px; line-height: 1.4; ">事件监听的代码应如下</p><p style="font-size: 13px; line-height: 1.4; ">this.panel1.addEventListener(btnEvent1.EVENT_NAME,panelCatchEvent,false);//最后一个参数useCapture是false</p><p style="font-size: 13px; line-height: 1.4; "><strong><span style="line-height: 1.5; font-size: 14pt; ">这样设置后就是冒泡事件，事件的执行顺序是从内层容器到外层容器执行的<br /></span></strong><strong></strong></p><p style="font-size: 13px; line-height: 1.4; ">&nbsp;</p><p style="font-size: 13px; line-height: 1.4; ">6.</p><p style="font-size: 13px; line-height: 1.4; ">如果即要捕捉非冒泡事件，又要捕捉冒泡事件</p><p style="font-size: 13px; line-height: 1.4; ">那么</p><p style="font-size: 13px; line-height: 1.4; ">创建事件的代码为</p><p style="font-size: 13px; line-height: 1.4; ">var Event:btnEvent1=new btnEvent1(btnEvent1.EVENT_NAME,true);//最后一个参数bubbles应为true</p><p style="font-size: 13px; line-height: 1.4; ">同时，监听事件的代码还要设置两次</p><p style="font-size: 13px; line-height: 1.4; ">this.panel1.addEventListener(btnEvent1.EVENT_NAME,panelCatchEvent,true);//非冒泡监听<br />this.panel1.addEventListener(btnEvent1.EVENT_NAME,panelCatchEvent,false);//冒泡监听</p></span><span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px; "><strong><span style="line-height: 1.5; font-size: 14pt; ">这样设置之后，事件先从外部执行到内部，在从内部执行到外部</span></strong></span>&nbsp;<br /><br />原文链接：<a href="http://www.cnblogs.com/liulun/archive/2010/11/23/1885053.html">http://www.cnblogs.com/liulun/archive/2010/11/23/1885053.html<br /><br /><br /></a><span class="Apple-style-span" style="color: #000000; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19px; -webkit-text-decorations-in-effect: none; background-color: #ffffff; "><p style="font-size: 13px; line-height: 1.4; "><br /></p></span><img src ="http://www.blogjava.net/liuwuping12064915/aggbug/351782.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuwuping12064915/" target="_blank">天空布蓝</a> 2011-06-05 18:08 <a href="http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351782.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>（转载）冒泡事件理解</title><link>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351781.html</link><dc:creator>天空布蓝</dc:creator><author>天空布蓝</author><pubDate>Sun, 05 Jun 2011 10:04:00 GMT</pubDate><guid>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351781.html</guid><wfw:comment>http://www.blogjava.net/liuwuping12064915/comments/351781.html</wfw:comment><comments>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351781.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuwuping12064915/comments/commentRss/351781.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuwuping12064915/services/trackbacks/351781.html</trackback:ping><description><![CDATA[&nbsp; 原文链接：<a href="http://bbs.9ria.com/viewthread.php?tid=59522">http://bbs.9ria.com/viewthread.php?tid=59522</a><br /><br /><span class="Apple-style-span" style="color: #444444; font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22px; background-color: #ffffff; ">发生事件时，该事件在事件流的三个阶段中移动：<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />捕获阶段，该阶段从显示列表层次结构的顶部流动到目标节点之前的节点；<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />目标阶段，该阶段只包括目标节点；<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />冒泡阶段，该阶段从目标节点的后续节点沿显示列表层次结构向上往回流动。<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />EventDispatcher 类实现 IEventDispatcher 接口，并且是 DisplayObject 类的基类。 EventDispatcher 类允许显示列表上的任何对象都是一个事件目标，同样允许使用 IEventDispatcher 接口的方法。&nbsp;<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />事件目标是 Flash &#174; Player 事件模型的重要组成部分。&nbsp;<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " /><br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />事件目标是事件如何通过显示列表层次结构这一问题的焦点<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />当发生<span href="tag.php?name=%E9%BC%A0%E6%A0%87" class="t_tag" style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; ">鼠标</span>单击或按键等事件时，Flash Player 会将事件对象调度到从显示列表根开始的事件流中<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />然后该事件对象在显示列表中前进，直到到达事件目标，然后从这一点开始其在显示列表中的回程<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />在概念上，到事件目标的此往返行程被划分为三个阶段：<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />、、捕获阶段包括从根到事件目标节点之前的最后一个节点的行程，<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />、、目标阶段仅包括事件目标节点，<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />、、冒泡阶段包括回程上遇到的任何后续节点到显示列表的根。<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />通常，使用户定义的类能够调度事件的最简单方法是扩展 EventDispatcher。 如果无法扩展（即，如果该类已经扩展了另一个类），则可以实现 IEventDispatcher 接口，创建 EventDispatcher 成员，并编写一些简单的挂钩，将调用连接到聚合的 EventDispatcher 中。<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />二、说明 首先明确几个概念<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />1、显示列表根：假如你有abc 三个panel c在b中 b在a中这样的嵌套关系 那么c--&gt;b--&gt;a&nbsp;&nbsp;a就是列表的根<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />2、目标：假如你在c上发了一个事件那么c就是事件的目标 有些复杂控件有click事件 不过发事件的目标不是它本身 那个currenttarget才是它本身<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />3、事件传递的流程：首先你派发事件在c上 事件首先从a--&gt;b--&gt;c--&gt;b--&gt;a这样一个完整的循环<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />4、捕获阶段：事件在a--&gt;b的这个阶段（注意和b--&gt;a不同）<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />5、目标阶段 仅当事件到达c的时候<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />6、冒泡阶段 b--&gt;a这样经过的阶段<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />三、具体<span href="tag.php?name=%E5%BA%94%E7%94%A8" class="t_tag" style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; ">应用</span><br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />当你在c上面派发了一个事件&nbsp;&nbsp;然后你想在c的顶层a上监听到<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />你可能这么做<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />首先你在c上this.dispatchEvent(new Event("cevent"<font color="Blue" style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; ">,false</font>)); 这样发了一个事件<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />蓝色字体 意味着这个事件只会在捕获和目标阶段 a-&gt;b-&gt;c<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />然后你在a上监听这个事件 a.addEventListener("cevent",function():void{trace("原始论坛目标发出的事件");},<font color="Red" style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; ">false</font>);<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />红色字体 意味着你打算 让侦听器只在目标或冒泡阶段处理事件 就是c-&gt;b-&gt;a<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />四、简单说来就是 你发出的事件走的是a-&gt;b-&gt;c的阶段 而你侦听只想侦听b-&gt;a阶段c只走了一次所以不会检测到c的事件<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />任何一个false改成true就可以了<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />蓝色改成true意味着事件在所有过程传递<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />红色改成true意味着侦听捕获阶段<br style="word-wrap: break-word; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; " />再简单说 新建事件不冒泡 默认侦听只侦听冒泡</span><img src ="http://www.blogjava.net/liuwuping12064915/aggbug/351781.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuwuping12064915/" target="_blank">天空布蓝</a> 2011-06-05 18:04 <a href="http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351781.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>（转载） flex4 css语法</title><link>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351776.html</link><dc:creator>天空布蓝</dc:creator><author>天空布蓝</author><pubDate>Sun, 05 Jun 2011 07:56:00 GMT</pubDate><guid>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351776.html</guid><wfw:comment>http://www.blogjava.net/liuwuping12064915/comments/351776.html</wfw:comment><comments>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351776.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuwuping12064915/comments/commentRss/351776.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuwuping12064915/services/trackbacks/351776.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;<div style="display: inline-block; "></div><span class="Apple-style-span" style="font-family: verdana, sans-serif; "><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">我们将展示以下几种例子：通过命名空间来定义全局CSS样式；通过具体组件的ID来定义个别组件的样式；通过类里面的组件ID来定义样式；通过组件样式定义样式。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">详细说明：</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">首先让我们新建一个application。如下。包含两个按钮（一个Halo按钮和一个Spark按钮）和一个包含在容器VGroup里面progressBar。代码如下：</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&lt;s:Application xmlns:fx=&#8221;http://ns.adobe.com/mxml/2009&#8243;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">xmlns:s=&#8221;library://ns.adobe.com/flex/spark&#8221;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">xmlns:mx=&#8221;library://ns.adobe.com/flex/halo&#8221; minWidth=&#8221;1024&#8243; minHeight=&#8221;768&#8243;&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;fx:Style source=&#8221;global.css&#8221; /&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;s:layout&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;s:VerticalLayout /&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/s:layout&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;mx:Button label=&#8221;Click me, I&#8217;m a Halo button!&#8221; &nbsp;id=&#8221;haloButton&#8221; /&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;s:Button label=&#8221;Click me, I&#8217;m a spark cool and funkybutton !&#8221; id=&#8221;sparkButton&#8221; /&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;s:VGroup id=&#8221;myBox&#8221;&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;mx:ProgressBar /&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/s:VGroup&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&lt;/s:Application&gt;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">在CSS里面需要导入相应的命名空间，如：</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">@namespace s &#8220;library://ns.adobe.com/flex/spark&#8221;;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">@namespace mx &#8220;library://ns.adobe.com/flex/halo&#8221;;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">定制全局样式</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">mx|Button</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">{</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">color:#ffffff;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">}</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">s|Button</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">{</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">color:#000000;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">}</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">当然也可在组件的属性里面指定样式类，然后在css中声明相应的样式类</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">.myStyleClass</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; {</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; color:#ff0000;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; }</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">组件ID设置相应的组件样式</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">#haloButton</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; {</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; base-color:#0000ff;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; }</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">#sparkButton</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; {</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; base-color:#ffffff;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; }</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">类里面的组件ID来定义样式</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">s|VGroup#myBox mx|ProgressBar</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; {</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; color:#ff0000;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; }</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">通过状态定义样式</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">s|Button:down</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; {</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; color:#33CC33;</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">&nbsp;&nbsp; }</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">总结：</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; color: #444444; ">通过这些语法，我们能够更轻松的为组件制作样式了。</p></span><img src ="http://www.blogjava.net/liuwuping12064915/aggbug/351776.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuwuping12064915/" target="_blank">天空布蓝</a> 2011-06-05 15:56 <a href="http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351776.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>（转载）两个.mxml文件之间链接的简单方法</title><link>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351775.html</link><dc:creator>天空布蓝</dc:creator><author>天空布蓝</author><pubDate>Sun, 05 Jun 2011 07:49:00 GMT</pubDate><guid>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351775.html</guid><wfw:comment>http://www.blogjava.net/liuwuping12064915/comments/351775.html</wfw:comment><comments>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351775.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuwuping12064915/comments/commentRss/351775.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuwuping12064915/services/trackbacks/351775.html</trackback:ping><description><![CDATA[<span class="Apple-style-span" style="color: #444444; font-family: verdana, sans-serif; ">test.mxml主界面：<br /><br />&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"<br />&nbsp; &nbsp; &nbsp; &nbsp; xmlns:n1="com.*" layout="absolute"&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:ViewStack width="100%" height="100%" id="test" &gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;n1:test id="test_1"/&gt;&lt;!--第一个页面(test1.mxml文件)--&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;n1:test id="test_2"/&gt;&lt;!--第二个页面(test2.mxml文件)--&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/mx:ViewStack&gt;<br />&lt;/mx:Application&gt;<br /><br />=====test1.mxml代码：<br /><br />&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />&lt;mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300"&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:Script&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;![CDATA[<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public function test1():void<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parentDocument.test.selectedChild=parentDocument.test_2;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]]&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/mx:Script&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:Button label="跳转到test2.mxml" click="test1()"/&gt;<br />&lt;/mx:Canvas&gt;<br /><br />=====要从test2.mxml返回到test1.mxml页面：<br /><br />&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />&lt;mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300"&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:Script&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;![CDATA[<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public function test1():void<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parentDocument.test.selectedChild=parentDocument.test_1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]]&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/mx:Script&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;mx:Button label="跳转到test2.mxml" click="test1()"/&gt;<br />&lt;/mx:Canvas&gt;<br /><br />这样就可以实现简单的页面调整，类似于页面的超链接</span>&nbsp;<br />原文链接：<a href="http://blog.csdn.net/sws9999/archive/2011/03/11/6238897.aspx">http://blog.csdn.net/sws9999/archive/2011/03/11/6238897.aspx<br /><br /><font class="Apple-style-span" color="#444444" face="verdana, sans-serif"><br /></font></a><img src ="http://www.blogjava.net/liuwuping12064915/aggbug/351775.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuwuping12064915/" target="_blank">天空布蓝</a> 2011-06-05 15:49 <a href="http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351775.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>(转载)flex制作一个用户登录框(含验证码)</title><link>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351771.html</link><dc:creator>天空布蓝</dc:creator><author>天空布蓝</author><pubDate>Sun, 05 Jun 2011 05:19:00 GMT</pubDate><guid>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351771.html</guid><wfw:comment>http://www.blogjava.net/liuwuping12064915/comments/351771.html</wfw:comment><comments>http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351771.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuwuping12064915/comments/commentRss/351771.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuwuping12064915/services/trackbacks/351771.html</trackback:ping><description><![CDATA[&nbsp; &nbsp; &nbsp;原文地址：<a href="http://www.cnblogs.com/qiantuwuliang/archive/2010/04/09/1708119.html">http://www.cnblogs.com/qiantuwuliang/archive/2010/04/09/1708119.html<br /><br />&nbsp;</a>&nbsp; &nbsp;<div style="display: inline-block; "></div><span class="Apple-style-span" style="font-family: verdana; "><div class="cnblogs_code" style="font-family: 'Courier New'; word-wrap: break-word; background-color: #f5f5f5; font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; word-break: break-all; overflow-x: auto; overflow-y: auto; "><img id="code_img_opened_b2e2dbb7-934c-4a7f-b1d2-b646b8d65d8d" class="code_img_opened" src="http://images.cnblogs.com/OutliningIndicators/ExpandedBlockStart.gif" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; vertical-align: middle; padding-right: 5px; "  alt="" /><span class="cnblogs_code_collapse" style="border-right-color: #808080; border-right-width: 1px; border-right-style: solid; border-top-color: #808080; border-top-width: 1px; border-top-style: solid; border-left-color: #808080; border-left-width: 1px; border-left-style: solid; border-bottom-color: #808080; border-bottom-width: 1px; border-bottom-style: solid; background-color: #ffffff; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; font-family: 'Courier New'; ">代码</span><div id="cnblogs_code_open_b2e2dbb7-934c-4a7f-b1d2-b646b8d65d8d" style="font-family: verdana; word-wrap: break-word; "><div style="font-family: verdana; word-wrap: break-word; "><span style="font-family: 'Courier New'; color: #000000; ">&lt;?</span><span style="font-family: 'Courier New'; color: #000000; ">xml&nbsp;version</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">1.0</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;encoding</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">utf-8</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">?&gt;</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;<br /></span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Application&nbsp;xmlns:mx</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">http://www.adobe.com/2006/mxml</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;layout</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">absolute</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fontSize</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">12</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;horizontalAlign</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">center</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;creationComplete</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">init()</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;<br /><br />&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Script</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;<br />&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;!</span><span style="font-family: 'Courier New'; color: #000000; ">[CDATA[&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;import&nbsp;mx.controls.Alert;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">function</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;init():</span><span style="font-family: 'Courier New'; color: #0000ff; ">void</span><span style="font-family: 'Courier New'; color: #000000; ">{&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;generate.text</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">generateCheckCode();&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #008000; ">//</span><span style="font-family: 'Courier New'; color: #008000; ">登录验证</span><span style="font-family: 'Courier New'; color: #008000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">function</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;loginHandler():</span><span style="font-family: 'Courier New'; color: #0000ff; ">void</span><span style="font-family: 'Courier New'; color: #000000; ">{&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">if</span><span style="font-family: 'Courier New'; color: #000000; ">(user.text</span><span style="font-family: 'Courier New'; color: #000000; ">==</span><span style="font-family: 'Courier New'; color: #000000; ">""</span><span style="font-family: 'Courier New'; color: #000000; ">||</span><span style="font-family: 'Courier New'; color: #000000; ">pass.text</span><span style="font-family: 'Courier New'; color: #000000; ">==</span><span style="font-family: 'Courier New'; color: #000000; ">""</span><span style="font-family: 'Courier New'; color: #000000; ">){&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alert.okLabel</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">确定</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alert.show(</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">用户名&nbsp;或&nbsp;密码&nbsp;为空</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">,</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">提示</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">);&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span><span style="font-family: 'Courier New'; color: #0000ff; ">else</span><span style="font-family: 'Courier New'; color: #000000; ">{&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">if</span><span style="font-family: 'Courier New'; color: #000000; ">(user.text</span><span style="font-family: 'Courier New'; color: #000000; ">==</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">jianbao</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&amp;&amp;</span><span style="font-family: 'Courier New'; color: #000000; ">pass.text</span><span style="font-family: 'Courier New'; color: #000000; ">==</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">jianbao</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&amp;&amp;</span><span style="font-family: 'Courier New'; color: #000000; ">identify.text.toLowerCase()</span><span style="font-family: 'Courier New'; color: #000000; ">==</span><span style="font-family: 'Courier New'; color: #000000; ">generate.text.toLowerCase()){&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alert.okLabel</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">确定</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alert.show(</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">登录成功</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">,</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">提示</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">);&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;currentState</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">hollow</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span><span style="font-family: 'Courier New'; color: #0000ff; ">else</span><span style="font-family: 'Courier New'; color: #000000; ">{&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">if</span><span style="font-family: 'Courier New'; color: #000000; ">(identify.text.toLowerCase()</span><span style="font-family: 'Courier New'; color: #000000; ">!=</span><span style="font-family: 'Courier New'; color: #000000; ">generate.text.toLowerCase()){&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alert.okLabel</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">确定</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alert.show(</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">验证码输入错误</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">,</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">提示</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">);&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;generate.text</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">generateCheckCode();&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span><span style="font-family: 'Courier New'; color: #0000ff; ">else</span><span style="font-family: 'Courier New'; color: #000000; ">{&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alert.okLabel</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">确定</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alert.show(</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">用户名&nbsp;或&nbsp;密码&nbsp;错误</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">,</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">提示</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">);&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #008000; ">//</span><span style="font-family: 'Courier New'; color: #008000; ">清除</span><span style="font-family: 'Courier New'; color: #008000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">function</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;clearHandler():</span><span style="font-family: 'Courier New'; color: #0000ff; ">void</span><span style="font-family: 'Courier New'; color: #000000; ">{&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;user.text</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">pass.text</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">""</span><span style="font-family: 'Courier New'; color: #000000; ">;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #008000; ">//</span><span style="font-family: 'Courier New'; color: #008000; ">产生验证吗</span><span style="font-family: 'Courier New'; color: #008000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;private&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">function</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;generateCheckCode():String{&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #008000; ">//</span><span style="font-family: 'Courier New'; color: #008000; ">init&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #008000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">var</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;num:Number;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">var</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;code:String;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">var</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;checkCode:String</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">""</span><span style="font-family: 'Courier New'; color: #000000; ">;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">for</span><span style="font-family: 'Courier New'; color: #000000; ">(</span><span style="font-family: 'Courier New'; color: #0000ff; ">var</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;i:</span><span style="font-family: 'Courier New'; color: #0000ff; ">int</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">0</span><span style="font-family: 'Courier New'; color: #000000; ">;i</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">5</span><span style="font-family: 'Courier New'; color: #000000; ">;i</span><span style="font-family: 'Courier New'; color: #000000; ">++</span><span style="font-family: 'Courier New'; color: #000000; ">){&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;num</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">Math.round(Math.random()</span><span style="font-family: 'Courier New'; color: #000000; ">*</span><span style="font-family: 'Courier New'; color: #000000; ">100000</span><span style="font-family: 'Courier New'; color: #000000; ">);&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">if</span><span style="font-family: 'Courier New'; color: #000000; ">(num</span><span style="font-family: 'Courier New'; color: #000000; ">%</span><span style="font-family: 'Courier New'; color: #000000; ">2</span><span style="font-family: 'Courier New'; color: #000000; ">==</span><span style="font-family: 'Courier New'; color: #000000; ">0</span><span style="font-family: 'Courier New'; color: #000000; ">){&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;code</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">String.fromCharCode(</span><span style="font-family: 'Courier New'; color: #000000; ">48</span><span style="font-family: 'Courier New'; color: #000000; ">+</span><span style="font-family: 'Courier New'; color: #000000; ">(num</span><span style="font-family: 'Courier New'; color: #000000; ">%</span><span style="font-family: 'Courier New'; color: #000000; ">10</span><span style="font-family: 'Courier New'; color: #000000; ">));&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span><span style="font-family: 'Courier New'; color: #0000ff; ">else</span><span style="font-family: 'Courier New'; color: #000000; ">{&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;code</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">String.fromCharCode(</span><span style="font-family: 'Courier New'; color: #000000; ">65</span><span style="font-family: 'Courier New'; color: #000000; ">+</span><span style="font-family: 'Courier New'; color: #000000; ">(num</span><span style="font-family: 'Courier New'; color: #000000; ">%</span><span style="font-family: 'Courier New'; color: #000000; ">26</span><span style="font-family: 'Courier New'; color: #000000; ">));&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checkCode&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">+=</span><span style="font-family: 'Courier New'; color: #000000; ">code;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #0000ff; ">return</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;checkCode;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;<br />&nbsp;&nbsp;]]</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;<br />&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">/</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Script&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Panel&nbsp;id</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">panel</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">143</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">115</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;width</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">350</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;height</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">229</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;layout</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">absolute</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;title</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">login</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Button&nbsp;id</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">btnLogin</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">73</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">141</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;label</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">登录</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;click</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">loginHandler()</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Button&nbsp;id</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">btnClear</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">167</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">141</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;label</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">清除</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;click</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">clearHandler()</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Label&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">41</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">31</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;text</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">用户名</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Label&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">44</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">64</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;text</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">密&nbsp;&nbsp;码</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:TextInput&nbsp;id</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">user</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">81</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">31</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:TextInput&nbsp;id</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">pass</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">81</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">62</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;displayAsPassword</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">true</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Text&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">40</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">100</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;text</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">验证码</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:TextInput&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">81</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">98</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;width</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">68</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;id</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">identify</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Label&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">156</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">100</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;width</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">48</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;id</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">generate</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Label&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">209</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">100</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;text</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">看不清楚&nbsp;换个~~</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;click</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">generate.text=generateCheckCode()</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">/</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Panel&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:states</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:State&nbsp;name</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">hollow</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:RemoveChild&nbsp;target</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">{panel}</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:AddChild&nbsp;position</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">lastChild</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Label&nbsp;text</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">hollow&nbsp;marshane</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;x</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">0</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;y</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">200</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;fontSize</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">200</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;color</span><span style="font-family: 'Courier New'; color: #000000; ">=</span><span style="font-family: 'Courier New'; color: #000000; ">"</span><span style="font-family: 'Courier New'; color: #000000; ">red</span><span style="font-family: 'Courier New'; color: #000000; ">"/</span><span style="font-family: 'Courier New'; color: #000000; ">&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">/</span><span style="font-family: 'Courier New'; color: #000000; ">mx:AddChild&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">/</span><span style="font-family: 'Courier New'; color: #000000; ">mx:State&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">/</span><span style="font-family: 'Courier New'; color: #000000; ">mx:states&gt;&nbsp;&nbsp;</span><span style="font-family: 'Courier New'; color: #000000; "><br /></span><span style="font-family: 'Courier New'; color: #000000; ">&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><span style="font-family: 'Courier New'; color: #000000; ">&lt;</span><span style="font-family: 'Courier New'; color: #000000; ">/</span><span style="font-family: 'Courier New'; color: #000000; ">mx:Application&gt;&nbsp;&nbsp;</span></div></div></div><p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; text-indent: 0px; "><br />效果图：<br /><img border="1" alt="" src="http://images.cnblogs.com/cnblogs_com/qiantuwuliang/202817/o_flexLogin.jpg" width="389" height="266" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-bottom-color: #ff0000; border-top-color: #ff0000; border-right-color: #ff0000; border-left-color: #ff0000; " /></p></span><img src ="http://www.blogjava.net/liuwuping12064915/aggbug/351771.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuwuping12064915/" target="_blank">天空布蓝</a> 2011-06-05 13:19 <a href="http://www.blogjava.net/liuwuping12064915/archive/2011/06/05/351771.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>利用TitleWindow和VideoPlayer组件轻松实现视频弹出播放效果</title><link>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351747.html</link><dc:creator>天空布蓝</dc:creator><author>天空布蓝</author><pubDate>Sat, 04 Jun 2011 12:41:00 GMT</pubDate><guid>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351747.html</guid><wfw:comment>http://www.blogjava.net/liuwuping12064915/comments/351747.html</wfw:comment><comments>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351747.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuwuping12064915/comments/commentRss/351747.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuwuping12064915/services/trackbacks/351747.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp; 原文链接：http://www.iyoya.comAdobe在Flex4后提供了一个VideoPlayer组件，它是可以设置外观的视频播放器组件，并支持渐进式下载、多比特率流和流视频。它支持播放 FLV 和 F4v 文件。VideoPlayer控件包含控制视频播放的全能 UI。我们只要利用这个组件就可以快速的创作自己的视频播放器。如果将TitleWindow和VideoPlayer组...&nbsp;&nbsp;<a href='http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351747.html'>阅读全文</a><img src ="http://www.blogjava.net/liuwuping12064915/aggbug/351747.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuwuping12064915/" target="_blank">天空布蓝</a> 2011-06-04 20:41 <a href="http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351747.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>给Flex写个简单的背景音乐播放</title><link>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351730.html</link><dc:creator>天空布蓝</dc:creator><author>天空布蓝</author><pubDate>Sat, 04 Jun 2011 03:25:00 GMT</pubDate><guid>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351730.html</guid><wfw:comment>http://www.blogjava.net/liuwuping12064915/comments/351730.html</wfw:comment><comments>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351730.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuwuping12064915/comments/commentRss/351730.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuwuping12064915/services/trackbacks/351730.html</trackback:ping><description><![CDATA[&nbsp; &nbsp; 播放时：<img src="http://www.blogjava.net/images/blogjava_net/liuwuping12064915/005.jpg" border="0" alt="" width="48" height="50" /><br />&nbsp; &nbsp; 暂停时：<img src="http://www.blogjava.net/images/blogjava_net/liuwuping12064915/004.jpg" border="0" alt="" width="48" height="50" /><br /><br /><br /><br />&nbsp; &nbsp; &nbsp;<span style="color: red; ">简单的播放按钮</span><br />&lt;mx:Button x="865" y="33" &nbsp;id="playerbutton" width="48" height="48" icon="{play1}" &nbsp;click="misicPlay(event)"/&gt;<br /><br /><br />&nbsp; &nbsp;&nbsp;<span style="color: red; ">按钮的播放事件</span><br /><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //播放状态时的图标显示</div><div><span style="white-space:pre">			</span>[Bindable]</div><div><span style="white-space:pre">			</span>[Embed(source="images/icon/200.png")]</div><div><span style="white-space:pre">			</span>public var play1:Class;</div><div><span style="white-space:pre">			</span>//暂停<div style="display: inline-block; "></div>状态时的图标显示</div><div><span style="white-space:pre">			</span>[Bindable]</div><div><span style="white-space:pre">			</span>[Embed(source="images/icon/199.png")]</div><div><span style="white-space:pre">			</span>public var play2:Class;</div><div><span style="white-space:pre">			</span></div><div><span style="white-space:pre">			</span>private var snd:Sound;</div><div><span style="white-space:pre">		</span></div><div><span style="white-space:pre">			</span>private var channel:SoundChannel;</div><div><span style="white-space:pre">			</span>private var playStatus:Number = 1;</div><div></div><div><span style="white-space:pre">			</span>protected function misicPlay(event:MouseEvent):void</div><div><span style="white-space:pre">			</span>{</div><div><span style="white-space:pre">				</span></div><div><span style="white-space:pre">				</span>if(playStatus==1){</div><div><span style="white-space:pre">					</span>snd = new Sound(new URLRequest("1.mp3"));</div><div><span style="white-space:pre">					</span>channel = snd.play();</div><div><span style="white-space:pre">				</span> &nbsp;playerbutton.setStyle("icon",play2);<span style="white-space:pre">	</span></div><div><span style="white-space:pre">				</span> &nbsp;playStatus = 0;</div><div><span style="white-space:pre">				</span>}</div><div><span style="white-space:pre">				</span>else if(playStatus==0)</div><div><span style="white-space:pre">				</span>{</div><div><span style="white-space:pre">					</span>playerbutton.setStyle("icon",play1);</div><div><span style="white-space:pre">					</span>channel.stop();</div><div><span style="white-space:pre">					</span>playStatus = 1;</div><div><span style="white-space:pre">				</span>}</div><div></div><div><span style="white-space:pre">			</span>}</div></div><img src ="http://www.blogjava.net/liuwuping12064915/aggbug/351730.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuwuping12064915/" target="_blank">天空布蓝</a> 2011-06-04 11:25 <a href="http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351730.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS中的Parent，ParentDocument，ParentApplication属性</title><link>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351729.html</link><dc:creator>天空布蓝</dc:creator><author>天空布蓝</author><pubDate>Sat, 04 Jun 2011 03:07:00 GMT</pubDate><guid>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351729.html</guid><wfw:comment>http://www.blogjava.net/liuwuping12064915/comments/351729.html</wfw:comment><comments>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351729.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuwuping12064915/comments/commentRss/351729.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuwuping12064915/services/trackbacks/351729.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 原文链接：http://blog.shinysky.com/2010/02/as-parent-parentdocument-parentapplication/Flex中的组件(Component)有三个属性, 通常用来引用上级的对象, 它们是 Parent, ParentDocument, ParentApplication.1.&nbsp;Parent：指包含此组件的父级容器对象(Displ...&nbsp;&nbsp;<a href='http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351729.html'>阅读全文</a><img src ="http://www.blogjava.net/liuwuping12064915/aggbug/351729.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuwuping12064915/" target="_blank">天空布蓝</a> 2011-06-04 11:07 <a href="http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351729.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>从Flex中owner和parent的区别来说Flex API设计思路</title><link>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351727.html</link><dc:creator>天空布蓝</dc:creator><author>天空布蓝</author><pubDate>Sat, 04 Jun 2011 02:33:00 GMT</pubDate><guid>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351727.html</guid><wfw:comment>http://www.blogjava.net/liuwuping12064915/comments/351727.html</wfw:comment><comments>http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351727.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuwuping12064915/comments/commentRss/351727.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuwuping12064915/services/trackbacks/351727.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: [译] Flex 4 Gumbo DOM Tree API - Functional and Design Specification英文原文:&nbsp;Flex 4 Gumbo DOM Tree API - Functional and Design Specification翻译的原创链接: &nbsp;http://www.smithfox.com/?e=36&nbsp;&nbsp;转载请...&nbsp;&nbsp;<a href='http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351727.html'>阅读全文</a><img src ="http://www.blogjava.net/liuwuping12064915/aggbug/351727.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuwuping12064915/" target="_blank">天空布蓝</a> 2011-06-04 10:33 <a href="http://www.blogjava.net/liuwuping12064915/archive/2011/06/04/351727.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>