锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲人成在线播放网站岛国,久久久久亚洲AV成人片,国产AV无码专区亚洲AV毛网站 http://www.tkk7.com/usherlight/category/18755.html澶╁鉤灞變笂鐧戒簯娉夛紝浜戣嚜鏃犲績姘磋嚜闂層備綍蹇呭鍐插北涓嬪幓錛屾洿娣繪嘗嫻悜浜洪棿錛?/description>zh-cnFri, 24 Aug 2007 14:14:38 GMTFri, 24 Aug 2007 14:14:38 GMT60ViewStack鐨勫ぇ灝忛棶棰?/title><link>http://www.tkk7.com/usherlight/archive/2007/08/24/139173.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Fri, 24 Aug 2007 12:26:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2007/08/24/139173.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/139173.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2007/08/24/139173.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/139173.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/139173.html</trackback:ping><description><![CDATA[<p>錛?br>ViewStack鐨勫ぇ灝忔槸鐢卞叾瀛愮粍浠剁殑澶у皬鍐沖畾鐨勶紝鑰孷iewStack騫朵笉浼氬湪鏀瑰彉媧誨姩瀛愮粍浠剁殑鏃跺欒嚜鍔╮esize銆?br>鍙湁浣跨敤浠ヤ笅鏂規硶鏉ユ帶鍒禫iewStack鐨勫ぇ灝忋?br>1. 浣跨敤鐩稿悓鐨勫浐瀹氬兼槑紜寚瀹氭墍鏈夊瓙緇勪歡鐨勫ぇ灝?br>2. 浣跨敤鐩稿悓鐨勬瘮渚嬪兼寚瀹氭墍鏈夊瓙緇勪歡鐨勫ぇ灝?br>3. 灝哣iewStack鐨剋idth鍜宧eight鐨勫艱緗負涓涓浐瀹氭垨鑰呭箋?/p> <p>涓婅堪3縐嶆柟娉曟槸Adobe瀹樻柟鏂囨。鎻愪緵鐨勩備絾鏄繖3縐嶆柟娉曚笉鑳借В鍐砎iewStack瀛愮粍浠跺ぇ灝忎笉涓鑷達紝ViewStack涓嶈兘鑷姩璋冩暣鐨勯棶棰樸?br>鎴戞渶鍚庢槸浣跨敤ActionScript鍔ㄦ佽В鍐崇殑銆?br>鍦ㄦ洿鎹iewStack鐨刟ctive child涔嬮棿錛岄鍏堣緗畍iewStack鐨勫ぇ灝忋?/p> <p><mx:ViewStack id="appStack"><br>        <mx:VBox id="v1"/><br>        <mx:VBox id="v2"/><br></mx:ViewStack></p> <p>public function changeChild() : void {<br>        appStack.width = 200;<br>        appStack.height = 200;<br>        appStack.selectChild = v1;<br>}<br><br>鎴戦敊浜嗭紝浣跨敤ViewStack鐨剅esizeToContent鏄渶濂界殑瑙e喅鍔炴硶銆?/p><img src ="http://www.tkk7.com/usherlight/aggbug/139173.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2007-08-24 20:26 <a href="http://www.tkk7.com/usherlight/archive/2007/08/24/139173.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Flex涓嬌鐢ㄦā鍧桵odule鐨勪緥瀛?/title><link>http://www.tkk7.com/usherlight/archive/2007/04/28/114300.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Sat, 28 Apr 2007 04:38:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2007/04/28/114300.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/114300.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2007/04/28/114300.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/114300.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/114300.html</trackback:ping><description><![CDATA[棣栧厛鏄簲鐢ㄧ殑浠g爜, 鍦ㄥ簲鐢ㄤ腑浣跨敤 <mx:ModuleLoader >鏉ュ姞杞芥ā鍧?br><br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #000000"><?</span><span style="COLOR: #000000">xml version</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">1.0</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">?></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000"><!--</span><span style="COLOR: #000000"> modules</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">URLModuleLoaderApp.mxml </span><span style="COLOR: #000000">--></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Application xmlns:mx</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">http://www.adobe.com/2006/mxml</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> viewSourceURL</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">srcview/index.html</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Panel<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    title</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Module Example</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    height</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">90%</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    width</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">90%</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    paddingTop</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    paddingLeft</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    paddingRight</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    paddingBottom</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Label width</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">100%</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> color</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">blue</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    text</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Select the tabs to change the panel.</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:TabNavigator id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">tn</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    width</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">100%</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    height</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">100%</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    creationPolicy</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">auto</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:VBox id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">vb1</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> label</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Column Chart Module</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Label id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">l1</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> text</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">ColumnChartModule.swf</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:ModuleLoader url</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">ColumnChartModule.swf</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:VBox</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:VBox id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">vb2</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> label</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Pie Chart Module</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Label id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">l2</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> text</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">piehchartmodule.swf</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:ModuleLoader url</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">piechartmodule.swf</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:VBox</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:VBox id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">vb3</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> label</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Line Chart Module</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Label id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">l3</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> text</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">linehchartmodule.swf</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:ModuleLoader url</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">linechartmodule.swf</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:VBox</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:TabNavigator</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:Panel</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:Application</span><span style="COLOR: #000000">></span></div> <br><br>鍦ㄨ繖涓簲鐢ㄤ腑涓昏鏄竴涓猅agNavigator, 閲岄潰鏈変笁涓爣絳鵑〉. 姣忎釜鏍囩欏靛姞杞戒竴涓ā鍧?<br>涓嬮潰鏄叾涓竴涓ā鍧楃殑浠g爜:<br><br><br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #000000"><?</span><span style="COLOR: #000000">xml version</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">1.0</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">?></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000"><!--</span><span style="COLOR: #000000">ColumnChartModule.mxml </span><span style="COLOR: #000000">--></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Module xmlns:mx</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">http://www.adobe.com/2006/mxml</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> width</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">100%</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> height</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">100%</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Script</span><span style="COLOR: #000000">><!</span><span style="COLOR: #000000">[CDATA[<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000"> mx.collections.ArrayCollection;<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        [Bindable]<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> var expenses:ArrayCollection </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> ArrayCollection([<br><img id=Codehighlighter1_308_348_Open_Image onclick="this.style.display='none'; Codehighlighter1_308_348_Open_Text.style.display='none'; Codehighlighter1_308_348_Closed_Image.style.display='inline'; Codehighlighter1_308_348_Closed_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_308_348_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_308_348_Closed_Text.style.display='none'; Codehighlighter1_308_348_Open_Image.style.display='inline'; Codehighlighter1_308_348_Open_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif" align=top>        </span><span id=Codehighlighter1_308_348_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif"></span><span id=Codehighlighter1_308_348_Open_Text><span style="COLOR: #000000">{Month:</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Jan</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, Profit:</span><span style="COLOR: #000000">2000</span><span style="COLOR: #000000">, Expenses:</span><span style="COLOR: #000000">1500</span><span style="COLOR: #000000">}</span></span><span style="COLOR: #000000">,<br><img id=Codehighlighter1_359_398_Open_Image onclick="this.style.display='none'; Codehighlighter1_359_398_Open_Text.style.display='none'; Codehighlighter1_359_398_Closed_Image.style.display='inline'; Codehighlighter1_359_398_Closed_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_359_398_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_359_398_Closed_Text.style.display='none'; Codehighlighter1_359_398_Open_Image.style.display='inline'; Codehighlighter1_359_398_Open_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif" align=top>        </span><span id=Codehighlighter1_359_398_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif"></span><span id=Codehighlighter1_359_398_Open_Text><span style="COLOR: #000000">{Month:</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Feb</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, Profit:</span><span style="COLOR: #000000">1000</span><span style="COLOR: #000000">, Expenses:</span><span style="COLOR: #000000">200</span><span style="COLOR: #000000">}</span></span><span style="COLOR: #000000">,<br><img id=Codehighlighter1_409_448_Open_Image onclick="this.style.display='none'; Codehighlighter1_409_448_Open_Text.style.display='none'; Codehighlighter1_409_448_Closed_Image.style.display='inline'; Codehighlighter1_409_448_Closed_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_409_448_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_409_448_Closed_Text.style.display='none'; Codehighlighter1_409_448_Open_Image.style.display='inline'; Codehighlighter1_409_448_Open_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif" align=top>        </span><span id=Codehighlighter1_409_448_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif"></span><span id=Codehighlighter1_409_448_Open_Text><span style="COLOR: #000000">{Month:</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Mar</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, Profit:</span><span style="COLOR: #000000">1500</span><span style="COLOR: #000000">, Expenses:</span><span style="COLOR: #000000">500</span><span style="COLOR: #000000">}</span></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        ]);<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    ]]</span><span style="COLOR: #000000">></</span><span style="COLOR: #000000">mx:Script</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:ColumnChart id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">myChart</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> dataProvider</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">{expenses}</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:horizontalAxis</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:CategoryAxis<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            dataProvider</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">{expenses}</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            categoryField</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Month</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:horizontalAxis</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:series</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:ColumnSeries<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            xField</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Month</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            yField</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Profit</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            displayName</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Profit</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:ColumnSeries<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            xField</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Month</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            yField</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Expenses</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            displayName</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Expenses</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:series</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:ColumnChart</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Legend dataProvider</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">{myChart}</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:Module</span><span style="COLOR: #000000">></span></div> <br><br>鏈鍚? 搴旂敤鍜屼笁涓ā鍧椾竴鍏變細鐢熸垚4涓猄WF. 涓鑸潵璇? 搴旂敤浣跨敤寤惰繜鍔犺澆絳栫暐. 涔熷氨鏄, 濡傛灉浣犳墦寮搴旂敤鍚? 浠庢潵閮戒笉浣跨敤鍏朵腑鐨勬煇涓ā鍧? 閭d釜榪欎釜妯″潡姘歌繙涓嶄細琚姞杞? 榪欐鍋氱殑濂藉鏄? 鍔犲揩浜嗙涓嬈℃墦寮搴旂敤鐨勯熷害, 浣嗛殢涔嬭屾潵鐨勭己鐐瑰氨鏄? 絎竴嬈℃墦寮浣跨敤鏌愪釜鍔熻兘, 闇瑕佸姞杞芥ā鍧楁椂, 浼氶渶瑕佷竴鐐圭瓑寰呯殑鏃墮棿.<img src ="http://www.tkk7.com/usherlight/aggbug/114300.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2007-04-28 12:38 <a href="http://www.tkk7.com/usherlight/archive/2007/04/28/114300.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>amfphp 1.9 beta 浠嬬粛http://www.tkk7.com/usherlight/archive/2007/04/21/112449.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Sat, 21 Apr 2007 08:06:00 GMThttp://www.tkk7.com/usherlight/archive/2007/04/21/112449.htmlhttp://www.tkk7.com/usherlight/comments/112449.htmlhttp://www.tkk7.com/usherlight/archive/2007/04/21/112449.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/112449.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/112449.html 

鏂扮壒鎬?br>1. 鏀寔AMF3, 榪欎竴鐐規棤鐤戞槸嬋鍔ㄤ漢蹇冪殑.
2. 鏀寔JSON, 闄や簡gateway.php澶? 澧炲姞浜唈son.php, 璁╀綘鐨勬湇鍔¤兘澶熶嬌鐢↗SON.
鏈変袱涓緥瀛?
http://5etdemi.com/amfphp2/samples/ajaxtables/
http://5etdemi.com/amfphp2/samples/spry/
3. 涓涓柊鐨剆ervice browser
4. 鍦╬hp绔? 涓嶅啀闇瑕佸啓 $this->methodTable 榪欎釜涓滀笢浜? 鍦╝mfphp 1.9 涓?鎵鏈夌殑鏂規硶榛樿涓哄彲浠ヨ繙紼嬭闂紝闄ら潪鏂規硶鍚嶆槸浠ヤ笅鍒掔嚎寮濮?鎴栬?鏂規硶鏄?private 鐨勶紙鍙湁 php5 鏀寔錛?銆?/p>

 



]]>
Flex搴旂敤鍚姩鑳屽悗鐨勬晠浜?/title><link>http://www.tkk7.com/usherlight/archive/2007/04/17/111365.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Tue, 17 Apr 2007 09:47:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2007/04/17/111365.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/111365.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2007/04/17/111365.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/111365.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/111365.html</trackback:ping><description><![CDATA[<p>棣栧厛浠嬬粛涓涓婼ystemManager. SystemManager鏄疐lex搴旂敤鐨勪富鎺ц? 瀹冩帶鍒剁潃搴旂敤紿楀彛, Application瀹炰緥, 寮瑰嚭紿楀彛, cursors, 騫剁鐞嗙潃ApplicationDomain涓殑綾? SystemManager鏄疐lashPlayer瀹炰緥鍖栫殑絎竴涓被, 瀹冨瓨鍌ㄤ簡涓誨簲鐢ㄧ獥鍙g殑澶у皬鍜屼綅緗俊鎭? 淇濆瓨鍏跺瓙緇勪歡姣斿:嫻姩寮瑰嚭紿楀彛鍜屾ā鎬佺獥鍙g殑鐥曡抗. 閫氳繃SystemManager鍙互鑾峰緱鍐呭祵瀛椾綋,鏍峰紡鍜宒ocument瀵硅薄. <br>鑷畾涔夌殑鍙鍖栫粍浠?UIComponent鐨勫瓙綾?鍙湁鍦ㄨ皟鐢ㄨ繃addChild()鍚? 鎵嶄細鏈変竴涓猄ystemManager璧嬬粰浠栦滑, 涔嬪墠鏄疦ull. 鎵浠ュ湪鑷畾涔夊彲瑙嗗寲緇勪歡鐨勬瀯閫犲嚱鏁頒腑涓嶈浣跨敤SystemManager.</p> <p>閫氬父, Application瀵硅薄鍒涘緩鏃? 鍙戠敓濡備笅浜嬩歡:<br>1. 瀹炰緥鍖朅pplication瀵硅薄<br>2. 鍒濆鍖朅pplication.systemManager<br>3. Application鍦ㄥ垵濮嬪寲榪囩▼涔嬪墠, 媧懼彂棰勫垵濮嬪寲浜嬩歡.<br>4. 璋冪敤createChild(). 姝ゆ椂, 鎵鏈夊簲鐢ㄧ粍浠惰鍒涘緩, 鎵鏈夌粍浠剁殑createChild()琚皟鐢?<br>5. Application媧懼彂鍒濆鍖栦簨浠? 琛ㄦ槑鎵鏈夌殑緇勪歡鍒濆鍖栧畬姣?<br>6. 媧懼彂creationComplete浜嬩歡<br>7. Application瀵硅薄娣誨姞鍒版樉紺哄垪琛ㄤ腑<br>8. 媧懼彂applicationComplete浜嬩歡</p> <p>澶у鏁版儏鍐典笅, 鎴戜滑浣跨敤<mx:Application>鏉ュ垱寤篴pplication瀵硅薄, 浣嗗鏋滀嬌鐢ˋctionScript鏉ュ垱寤虹殑璇? 閭d箞寤鴻涓嶈鍦╝pplication鐨勬瀯閫犲嚱鏁頒腑鍒涘緩緇勪歡, 鎺ㄨ崘鍦╟rateChildren鍑芥暟涓? 涓昏鏄粠鎬ц兘鏂歸潰鑰冭檻.<br><br>Flash鍖呭惈鐨勬槸涓涓椂闂寸嚎涓婄殑澶氫釜甯? 鑰孎lex鐨凷WF鍙寘鍚?涓撫. SystemManager, Preloader, DownloadProgressBar鍜屽皯閲忓伐鍏風被閮藉湪絎竴甯? 鍓╀笅鐨勫寘鎷簲鐢ㄤ唬鐮? 鍐呭祵璧勬簮鍏ㄩ兘鍦ㄧ浜屽撫涓? 褰揊lash Player涓嬭澆涓嬭澆SWF鏃? 鍙鎺ユ敹鍒扮涓甯у唴瓚沖鐨勬暟鎹? 灝變細瀹炰緥鍖朣ystemManager, 鐢卞畠鏉ュ垱寤篜reloader, 鐒跺悗鍒涘緩DownloadProgressBar, 榪欎袱涓璞′細瀵熺湅鍓╀綑瀛楄妭鐨勪紶杈撹繃紼? 褰撶涓甯х殑鎵鏈夊瓧鑺備紶杈撳畬姣曞悗, SystemManager鍙戦乪nterFrame鍒扮浜屽撫, 鐒跺悗鏄叾浠栦簨浠? 鏈鍚嶢pplication瀵硅薄媧懼彂applicationComplete浜嬩歡.<br></p><img src ="http://www.tkk7.com/usherlight/aggbug/111365.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2007-04-17 17:47 <a href="http://www.tkk7.com/usherlight/archive/2007/04/17/111365.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Flex涓竴涓姩鎬佷慨鏀筎ree鑺傜偣鏍囩鐨勪緥瀛?/title><link>http://www.tkk7.com/usherlight/archive/2007/04/15/110820.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Sun, 15 Apr 2007 12:50:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2007/04/15/110820.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/110820.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2007/04/15/110820.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/110820.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/110820.html</trackback:ping><description><![CDATA[<p>涓涓姩鎬佷慨鏀筎ree鑺傜偣鏍囩鐨勪緥瀛?br></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #000000"><?</span><span style="COLOR: #000000">xml version</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">1.0</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> encoding</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">utf-8</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">?></span><span style="COLOR: #000000"><br></span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Application xmlns:mx</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">http://www.adobe.com/2006/mxml</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> layout</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">vertical</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">  horizontalAlign</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">left</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br>    creationComplete</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">initApp()</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br></span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Script</span><span style="COLOR: #000000">><!</span><span style="COLOR: #000000">[CDATA[<br>  [Bindable]</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> var _xmlData:XML;<br>  [Bindable]</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000"> var _xmlCur:XML;<br> <br>  </span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000"> function initApp():</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"><br>  {<br>    </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">set the test data</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">    _xmlData </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"><br>      </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">node label</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Mail Box</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">node label</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Inbox</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">node label</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Deleted mail</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">node label</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Personal</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">node label</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Professional</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">node label</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Spam</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">node label</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Sent</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br>      </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">node</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">                                             <br><br>    myTree.selectedItem </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> myTree.dataProvider[</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">];        </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">select the first node</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">    callLater(expandTreeNode, [myTree.selectedItem]);    </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">use callLater to expand that node</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">  }</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">initApp</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000"> <br>  </span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000"> function expandTreeNode(myXMLNode:XML):</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000">{<br>    myTree.expandChildrenOf(myXMLNode,</span><span style="COLOR: #0000ff">true</span><span style="COLOR: #000000">);              </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">expand the node</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">    _xmlCur </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> XML(myTree.selectedItem);                   </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">set the bindable variable</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">  }<br> <br>  </span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000"> function oChangeTree(oEvent:Event):</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"><br>  {<br>    _xmlCur </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> XML(oEvent.target.selectedItem);            </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">set the bindable variable</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">  }</span><span style="COLOR: #008000">//<br></span><span style="COLOR: #000000"> <br>  </span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000"> function updateNode(oEvent:Event):</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"><br>  {<br>    var xmlSelected:XML </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> XML(myTree.selectedItem)        </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">get a reference to the selected node</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">    xmlSelected.@label </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> tiLabel.text;                    </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">set the label attribute</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">  }</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">updateNode</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">   <br>    <br>]]</span><span style="COLOR: #000000">></</span><span style="COLOR: #000000">mx:Script</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"> <br>  </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Label text</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Update selected Node label</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br>  </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:TextInput id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">tiLabel</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> text</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">{_xmlCur.@label}</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> change</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">updateNode(event)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br>  </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:HBox</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br>    </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Tree id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">myTree</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> width</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">200</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> height</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">200</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> labelField</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">@label</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br>        showRoot</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">true</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br>        dataProvider</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">{_xmlData}</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br>        change</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">oChangeTree(event)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br> </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:DataGrid id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">dg</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> dataProvider</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">{_xmlData.node}</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">  </span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br>    </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:columns</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br>      </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Array</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br>        </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:DataGridColumn headerText</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Name</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> dataField</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">@label</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">  </span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br>       </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:Array</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br>    </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:columns</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br>  </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:DataGrid</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br>  </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">mx:Label text</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">{_xmlCur.@label}</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br>  </span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:HBox</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br>      <br></span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">mx:Application</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br></span></div> <p><br><br></p> <p>搴旂敤涓富瑕佸寘鍚?涓粍浠? 涓涓猅extInput, 涓涓猅ree, 涓涓狣ataGrid, 涓涓狶abel<br>1. 鍏堢湅Tree, Tree浣跨敤_xmlData浣滀負鏁版嵁婧? 瀹氫箟涓涓猚hange浜嬩歡澶勭悊鍑芥暟, 灝嗗綋鍓嶈妭鐐瑰瓨鍌ㄥ埌_xmlCur鍙橀噺涓?<br>2. TextInput鐨勬暟鎹簮灝辨槸_xmlCur鐨刲abel灞炴? 涔熷氨鏄疶ree褰撳墠鑺傜偣鐨勬爣絳? 浠栦篃瀹氫箟浜嗕竴涓猚hange浜嬩歡澶勭悊鍑芥暟, 鍦═extInput涓殑鏂囨湰鏀瑰彉鏃? 灝嗘柊鐨勬枃鏈祴鍊肩粰Tree褰撳墠鑺傜偣鐨勬爣絳? 涔熷氨鏄敼鍙樺綋鍓峊ree鑺傜偣鐨勬爣絳懼? 鍊煎緱娉ㄦ剰鐨勬槸璧嬪煎茍涓嶆槸鐩存帴緇橳ree涓垨鑰呰妭鐐逛腑鐨勬煇涓睘鎬? 鑰屾槸閫氳繃淇敼鏁版嵁婧怷ml鐨勫兼潵鏀瑰彉鐨?<br>3. DataGrid鐨勪嬌鐢ㄦ樉紺轟簡濡備綍鍦―ataGrid涓睍紺篨ml鐨勬妧宸?<br>4. 鏈鍚庝竴涓狶abel鍙槸綆鍗曠殑鏄劇ず褰撳墠鑺傜偣鐨勬爣絳懼? 涓嶵extInput鐨勬枃鏈繚鎸佸悓姝?/p><img src ="http://www.tkk7.com/usherlight/aggbug/110820.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2007-04-15 20:50 <a href="http://www.tkk7.com/usherlight/archive/2007/04/15/110820.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鏁寸悊浜嗕竴涓婥airngorm 2.1鐗堟湰鐨勬柊鍙樺寲http://www.tkk7.com/usherlight/archive/2007/04/10/109722.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Tue, 10 Apr 2007 11:48:00 GMThttp://www.tkk7.com/usherlight/archive/2007/04/10/109722.htmlhttp://www.tkk7.com/usherlight/comments/109722.htmlhttp://www.tkk7.com/usherlight/archive/2007/04/10/109722.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/109722.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/109722.html1. Caringorm2.1鐨勫寘涓鍔犱簡瀹屾暣鐨凙SDoc鏂囨。

2. 澧炲姞Locale錛岄敊璇俊鎭殑鍥介檯鍖栫殑澶勭悊銆?br>娣誨姞浜嗕竴涓狿roperties鏂囦歡錛?br>娣誨姞浜哻om.adobe.cairngorm.CairngormMessageCodes鍜宑om.adobe.cairngorm.CairngormError涓や釜綾伙紝鍏朵腑CairngormMessageCodes鐢ㄤ簬瀹氫箟Properties鏂囦歡涓殑閿鹼紝鑰孋airngormError灝佽浜咵rror錛屽湪搴旂敤鎵ц鐨勮繃紼嬩笉鍐嶇洿鎺ユ姏鍑篍rror錛岃屾姏鍑轟竴涓狢airngormError錛屽叾涓甫涓涓弬鏁板氨鏄疢essageCode錛屾牴鎹甅essageCode鍒癙roperties鏂囦歡涓彇鍑虹浉搴旂殑娑堟伅銆?/p>

3. 鍦╞usiness涓紝娣誨姞浜嗕竴涓狪ServiceLocator鐨勬帴鍙?br>ServiceLocator瀹炵幇IServiceLocator鎺ュ彛錛岀浉姣斾互鍓嶅鍔犱簡浠ヤ笅鍑犱釜鏂規硶錛?br>a銆乸ublic function getRemoteObject( serviceId : String ) : RemoteObject // Return the RemoteObject for the given service id.
b銆乸ublic function getHTTPService( serviceId : String ) : HTTPService // Return the HTTPService for the given service id.
c銆乸ublic function getWebService( serviceId : String ) : WebService // Return the WebService for the given service id.
d銆乸ublic function getConsumer( serviceId : String ) : Consumer  // Return the message Consumer for the given service id.
e銆乸ublic function getProducer( serviceId : String ) : Producer // Return the message Produce for the given service id.
f銆乸ublic function getDataService( serviceId : String ) : DataService // Return the DataService for the given service id.
g銆乸ublic function setCredentials( username : String, password : String ) : void // Set the credentials for all registered services. Note that services that use a proxy or a third-party adapter to a remote endpoint will

鍘熸潵鐨刧etService鍜実etInvokerService鏂規硶宸茬粡搴熷純錛屾敼涓轟簡getRemoteObject

4. 鍦–ommand涓紝澧炲姞浜咺Command鎺ュ彛錛屽師鏉ョ殑Command鎺ュ彛緇ф壙ICommand

5. 鍦╒O涓紝澧炲姞浜咺ValueObject鎺ュ彛錛屽師鏉ョ殑ValueObject緇ф壙IValueObject鎺ュ彛

涓婇潰娣誨姞鐨勫嚑涓帴鍙o紝闄や簡IServiceLocator鐩歌緝2.0鐗堟湰鏈変簡杈冨ぇ鐨勫彉鍖栵紝澧炲姞浜嗕竴浜涙柟娉曪紝鍏朵粬鐨勫嚑涓帴鍙o紝渚濇垜鎵瑙侊紝綰補鏄崲浜嗗悕瀛楄屽凡銆?/p>

 



]]>
FDS錛團lex Data Service錛夋敼鍚嶄負LiveCycle Data Servicehttp://www.tkk7.com/usherlight/archive/2007/04/04/108511.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Wed, 04 Apr 2007 11:07:00 GMThttp://www.tkk7.com/usherlight/archive/2007/04/04/108511.htmlhttp://www.tkk7.com/usherlight/comments/108511.htmlhttp://www.tkk7.com/usherlight/archive/2007/04/04/108511.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/108511.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/108511.html榪欎釜鍚嶅瓧鐨勬敼鍙樺弽搴斿嚭FDS鐨勪竴涓噸瑕佺殑鎵╁睍錛歀iveCycle Data Service涓嶢dobe鍏朵粬LiveCycle鏈嶅姟浜у搧鐨勬暣鍚堝皢鏇寸揣瀵嗐?br>
LiveCycel Data Service灝嗘湁涓浜涢噸瑕佺殑鏂扮殑鍙樺寲錛?br>1. 鎻愬崌鏁版嵁鏈嶅姟娑堟伅鐨勬ц兘
2. 涓嶱DF銆丣2EE闂ㄦ埛絳夌殑闆嗘垚
3. 鍙﹀榪樻湁涓浜涢拡瀵規湭鏉pollo搴旂敤鐨勫緢閲嶈鐨勫姛鑳斤紝姣斿錛氭湰鍦版暟鎹紦瀛樺拰鑴辨満娑堟伅絳夈?

涓嬭澆鍦板潃錛?a >http://labs.adobe.com/technologies/livecycle_dataservices2_5/

]]>
Flex.org姝e紡鏀圭増浜?/title><link>http://www.tkk7.com/usherlight/archive/2007/04/04/108508.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Wed, 04 Apr 2007 10:59:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2007/04/04/108508.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/108508.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2007/04/04/108508.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/108508.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/108508.html</trackback:ping><description><![CDATA[鏂扮殑Flex.org鎶婂唴瀹瑰垎鎴?澶ч儴鍒?br>宸﹁竟4涓紝鍒嗗埆鏄細Flex瀹炰緥錛孎lex涓嬭澆銆丗lex紺懼尯銆佸府鍔?br>鍙寵竟涓涓ぇ鍧楁槸錛欶lex浠嬬粛鍜孎lex鐩涗細銆?br><br>鏁翠綋鎰熻姣斾互鍓嶈娓呮柊鐖芥磥銆?br><br>鏈涓婇潰鐨勪竴鎺掕彍鍗曢」濂藉儚姣斾互鍓嶈澶氥?br>鏈夊崥瀹€佺ぞ鍖恒佹枃。銆佷笅杞姐佸伐浣溿佹紨紺恒佹敮鎸併?img src ="http://www.tkk7.com/usherlight/aggbug/108508.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2007-04-04 18:59 <a href="http://www.tkk7.com/usherlight/archive/2007/04/04/108508.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Flex lib 鍑轟簡鏂扮増鏈?/title><link>http://www.tkk7.com/usherlight/archive/2007/03/30/107459.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Fri, 30 Mar 2007 05:23:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2007/03/30/107459.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/107459.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2007/03/30/107459.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/107459.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/107459.html</trackback:ping><description><![CDATA[Flexlib 1.5<br />涓嬭澆鍦板潃錛?br /><a >http://flexlib.googlecode.com/files/flexlib-.1.5.zip</a><br /><br />閲岄潰鏈?涓洰褰曪細<br />bin<br />src<br />docs<br />examples<br /><br />鍖呭惈錛?br />AdvancedForm<br />ConvertibleTreeList<br />DragCanvas<br />DraggableSlider<br />HAccordion<br />ImageMap<br />PromptingTextinput<br />ScrollableMenus<br />SuperTabNavigator<br />TreeGrid<br />VerticalMenuBar<br />榪欎簺鍐呭<img src ="http://www.tkk7.com/usherlight/aggbug/107459.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2007-03-30 13:23 <a href="http://www.tkk7.com/usherlight/archive/2007/03/30/107459.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>涓涓狢airngorm鐨勪唬鐮佺敓鎴愬櫒http://www.tkk7.com/usherlight/archive/2007/03/24/106000.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Fri, 23 Mar 2007 16:13:00 GMThttp://www.tkk7.com/usherlight/archive/2007/03/24/106000.htmlhttp://www.tkk7.com/usherlight/comments/106000.htmlhttp://www.tkk7.com/usherlight/archive/2007/03/24/106000.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/106000.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/106000.htmlCaringen鏄竴涓狤ric Feminella鑷繁寮鍙戠殑涓涓皬宸ュ叿. 鐜板湪浠栨妸榪欎釜宸ュ叿鍏變韓鍑烘潵.
Cairngen騫朵笉鑳借鎵鏈夌殑浜鴻В鍐蟲墍鏈夌殑闂, 瀹冨彧鏄畝鍗曞湴鍔犲揩寮鍙戠殑榪囩▼.

Cairngen鏄竴涓狢aringorm鐨勪唬鐮佺敓鎴愬櫒, 瀹冧嬌寰楀紑鍙戣呭彲浠ュ緢鏂逛究鍦扮敓鎴怌airngorm欏圭洰鐨勭粨鏋勬鏋? 鍖呮嫭: Cairngorm欏圭洰鐨勭洰褰曠粨鏋? 涓涓己鐪佺殑ModelLocator, Controller, ServiceLocator. Cairngen涔熷彲浠ョ敓鎴怑vent, Command, Delegate綾?

Cairngen浣跨敤Flex2鍜孭HP5.2.0寮鍙? 鍒╃敤浜咥MFPHP. 瀹夎榪囩▼鍗佸垎鏂逛究. 浣犲彲浠ュ湪Flex Builder鐨勬祻瑙堝櫒涓洿鎺ヨ繍琛孋airngen鏉ュ揩閫熸柟渚垮湴鐢熸垚Cairngorm鐨勭被.

Cairngen浣跨敤'姝ラ(Sequence)'鏉ユ弿榪癊vent, Command, Delegate綾諱箣闂寸殑鍏崇郴.
鍦–airngen涓彧瑕佸懡鍚嶄竴涓?姝ラ',鐐瑰嚮涓涓嬬敓鎴愭寜閽氨鍙互鐢熸垚涓涓?姝ラ'. 鐒跺悗鍒鋒柊涓涓婩lex欏圭洰, 鐢熸垚鐨勭被灝監K浜? 鍦ㄤ竴浜涚壒孌婄殑鎯呭喌涓? 浣犱笉甯屾湜娣誨姞Delegate綾? 閭d箞浣犲彲浠ラ夋嫨鎺掗櫎Delegate綾葷殑鐢熸垚, 榪欐牱鐨勮瘽, Cairngen鍙敓鎴怑vent鍜孋ommand.
鐢熸垚鐨凜ommand綾誨疄鐜癈airngorm鐨凜ommand鎺ュ彛, 浣嗕笉瀹炵幇IResponder鎺ュ彛. Cairngen榪樿兘澶熸紜湴灝嗕簨浠跺己鍒舵ц漿鍖?casting)涓篊oand涓殑綾誨瀷, 騫秈mport鎵鏈夌浉鍏崇殑綾?

緋葷粺闇姹?
1. 浜嗚ВAMFPHP, Apache2.0.59鍜孭HP5.2.0, 鍦ㄤ嬌鐢–airngen涔嬪墠瑕佹眰鍏堝畨瑁匒MFPHP, 鑰屼笖gateway.php鐨勮闂櫄鎷熺洰褰曞簲璇ュ涓嬭緗? http://localhost/amfphp/gateway.php. 鍦?.0鐗堟寮忓彂甯冨悗, 榪欎釜URL鍙互鑷敱閰嶇疆.
2. 榪橀渶瑕佸畨瑁匜lex2, PHP, 浣犲彲浠ョ敤WAMP5鏉ラ泦鎴愬畨瑁匒pache5.5鍜孭HP. 瀹夎濂絇HP鍜孉MFPHP鍚? 灝卞彲浠ヨВ鍘嬬緝Cairngen Alpha 1. 鎶妔ervices鐩綍澶嶅埗鍒癮mfphp鐨勬牴鐩綍涓? 鐒跺悗澶嶅埗cairgen-ui鐩綍鍒癮pache鐨剋ww鏍圭洰褰曚笅.

浣跨敤:
瀹夎濂絇HP鍜孉MFPHP鍚? 灝卞彲浠ュ紑濮嬩嬌鐢–airngen浜? 鎵撳紑嫻忚鍣ㄨ緭鍏?a href="http://localhost/cairngen-ui/Cairngen.html">http://localhost/cairngen-ui/Cairngen.html鎵撳紑鐢熸垚鍣ㄧ殑鍥懼艦鐣岄潰. 鍒涘緩Cairgen欏圭洰:
鐐瑰嚮 begin
緇欎綘鐨凜airngen欏圭洰鍛藉悕. 榪欎釜鍚嶇О涓嶧lex欏圭洰鐨勫悕縐扮浉鍚? 閫夋嫨浣犵殑Cairngorm鐨勭増鏈? 閫夋嫨Flex欏圭洰鐨勮礬寰? 璁劇疆欏圭洰涓寘璺緞(姣斿: com.domain.projectname). 鏈鍚? 媯楠屼竴涓嬭緭鍏ュ唴瀹? 鐐瑰嚮"Create Project". 鍒鋒柊Flex欏圭洰鏌ョ湅緙虹渷鐨凜airngorm欏圭洰緇撴瀯, ModelLocator, Service鍜孋ontroller綾?

鍒涘緩"姝ラ":

棣栧厛鏄粰姝ラ鍛藉悕, 鐒跺悗閫夋嫨鏄惁瑕佺敓鎴怐elegate綾? 鐐瑰嚮鐢熸垚, 騫跺埛鏂癋lex欏圭洰. 鍙互鍙戠幇闇瑕佺殑綾誨凡緇忕敓鎴愬畬姣曚簡. 鐜板湪闇瑕佹妸瀹冧滑娣誨姞鍒癈ontroller涓?
鎺ヤ笅鏉ョ紪杈戞ā鏉挎枃浠? 浣犲彲浠ヤ慨鏀規ā鏉挎枃浠?.tpl)鏉ュ疄鐜頒綘鐨勭壒瀹氱殑Cairngorm闇姹? 妯℃澘鏂囦歡鍦?amfphp\services\com\ericfeminella\cairngen\templates鐩綍涓?

鐢熸垚鍣ㄤ笅杞藉湴鍧: http://code.ericfeminella.com/cairngen/Cairngen%20Alpha%201%20PreRelease.zip



]]>
FlexLib 錛?FlexBoxhttp://www.tkk7.com/usherlight/archive/2007/03/09/102779.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Fri, 09 Mar 2007 03:46:00 GMThttp://www.tkk7.com/usherlight/archive/2007/03/09/102779.htmlhttp://www.tkk7.com/usherlight/comments/102779.htmlhttp://www.tkk7.com/usherlight/archive/2007/03/09/102779.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/102779.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/102779.html
鏈榪慉dobe鍏徃鐨勪竴鎵逛漢鍦℅oogle鐨凜ode Project涓婂彂甯冧簡FlexLib錛屼竴涓紑婧愮殑Flex2緇勪歡搴撱?br />鐜版湁鐨勭粍浠跺寘鎷細
聽聽聽ConvertibleTreeList,聽
聽聽聽Draggable Slider,聽
聽聽聽PromptingTextInput,聽
聽聽聽Scrollable Menu Controls,聽
聽聽聽SuperTabNavigator,聽
聽聽聽Alternative Scrolling Canvases,聽
聽聽聽Horizontal Accordion

澶у鍙互鍘葷湅鐪嬨?br />
鍙﹀錛岃繕鏈変釜浜轟篃鍙戝竷浜嗕竴涓狥lex2 緇勪歡鐩綍錛?FlexBox銆傝繖涓綉绔?br />



]]>
鏁版嵁緇戝畾鐨勫皬鎶宸?Flex Data Binding Tiphttp://www.tkk7.com/usherlight/archive/2007/03/08/102702.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Thu, 08 Mar 2007 14:58:00 GMThttp://www.tkk7.com/usherlight/archive/2007/03/08/102702.htmlhttp://www.tkk7.com/usherlight/comments/102702.htmlhttp://www.tkk7.com/usherlight/archive/2007/03/08/102702.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/102702.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/102702.html

鐜板湪鏈変竴涓柟渚跨殑鍋氭硶鏉ユ牴鎹夋嫨Enable/Disable鎺т歡銆傛瘮濡傦細鏈変竴涓狣ataGrid鍜屾暟涓搷浣滄暟鎹殑鎸夐挳錛屽綋閫変腑鏌愯鏄縺媧誨叾涓竴涓寜閽紝閫変腑鍙︿竴琛屾椂錛屾縺媧誨叾涓彟涓涓寜閽紝絳夌瓑銆?/p>

閫氬父鐨勫仛娉曟槸鍐欎竴澶у爢鐨刬f else璇彞錛屾垨鑰呮槸璁劇疆涓鍫嗗彉閲忕粦瀹氬埌鎸夐挳涓婏紝鐒跺悗鍦ㄤ唬鐮佷腑璁劇疆榪欎簺鍙橀噺鐨勫鹼紝姣斿錛?/p>

[Bindable] private var somethingSelected:Boolean = false;
<mx:Button label="Publish" click="publishItem()" enabled="{somethingSelected}" />

榪欐槸涓涓湁鐩婄殑灝濊瘯銆傛墍鏈夌殑渚濊禆浜嶥ataGrid鐘舵佺殑鎺т歡閮界粦瀹氫竴涓彉閲忋傛敼鍙樺彉閲忕殑鍊煎氨鏀瑰彉鎺т歡鐨別nabled鐘舵併備絾鏄綘榪橀渶瑕佺‘瀹氭敼鍙樺彉閲忓肩殑鏃舵満銆傛瘮濡傦細

private function publishItem() : void {
聽聽聽聽 // get the selected item
聽聽聽聽 // publish it
聽聽聽聽 grid.selectedItem = -1; // clear the selection
聽聽聽聽 somethingSelected = false;
}

鍦ㄥ鏉傜殑鎯呭喌涓嬶紝鍋囪鏈夊彟涓涓寜閽渶瑕佸湪閫変腑鏌愪釜鐗瑰畾鍊兼椂琚縺媧匯傞偅涔堜綘涓嶄粎闇瑕佽冭檻閫変腑瀵瑰簲鐨勯偅涓彉閲忥紝榪橀渶瑕佽冭檻鍏朵粬鎸夐挳鐨勬儏鍐點備篃灝辨槸璇達紝鍦╬ublishItem鍑芥暟涓綘榪橀渶瑕佽緗叾浠栧彉閲忕殑鍊箋?/p>

涓涓洿鏂逛究鐨勫仛娉曟槸榪欐牱鐨勩傜幇鍦ㄦ垜浠琍ublish鎸夐挳鍜宻omethingSelected鍙橀噺榪涜緇戝畾銆傛垜浠繕闇瑕佸仛鐨勬槸鎶妔omethingSelected鍙橀噺涓嶥ataGrid鐨勯変腑鐘舵佽繘琛屽叧鑱斻傚姝わ紝鎴戜滑鍙互浣跨敤<mx:Binding>鏍囩銆?/p>

<mx:Binding source="grid.selectedIndex >= 0" destination="somethingSelected" />

榪欐牱somethingSelected鐨勫間笌DataGrid鐨勯変腑鐘舵佸氨绱у瘑鍦拌仈緋昏搗鏉ヤ簡銆傚綋閫変腑浜咲ataGrid涓殑鏌愭潯鏁版嵁鏃訛紝鎵鏈夎繘琛宔nabled="{somethingSelected}"緇戝畾鐨勬寜閽氨琚縺媧匯?lt;mx:Binding>鏍囩鐨剆ource灞炴т笉闇瑕佷竴瀹氭槸涓涓彉閲忥紝瀹屽叏鍙互鏄竴涓〃杈懼紡銆?/p>

姣斿紼嶅井澶嶆潅涓鐐圭殑涓涓緥瀛愶細

<mx:Binding source="grid.selectedItem.code == 1" destination="codeOnePicked" />

榪欐牱錛屽綋DataGrid閫変腑琛岀殑code瀛楁鐨勫間負1鏃訛紝鍙橀噺codeOnePicked鐨勫艱璁劇疆涓簍rue銆?br />mxml涓彲浠ュ涓嬪畾涔夛細

<mx:CheckBox label="Code One?" selected="{codeOnePicked}" />
<mx:Button label="Publish" enabled="{somethingSelected && !codeOnePicked}" />

榪欐牱錛屽綋閫変腑琛岀殑code瀛楁鍊間負1鏃訛紝涓婇潰鐨勫閫夋琚縺媧伙紝鑰屼笅闈㈢殑鎸夐挳鏃犳晥銆?/p>

]]>
寮婧愮殑FDS鍑虹幇http://www.tkk7.com/usherlight/archive/2007/03/01/101318.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Thu, 01 Mar 2007 14:22:00 GMThttp://www.tkk7.com/usherlight/archive/2007/03/01/101318.htmlhttp://www.tkk7.com/usherlight/comments/101318.htmlhttp://www.tkk7.com/usherlight/archive/2007/03/01/101318.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/101318.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/101318.html http://www.graniteds.org/confluence/display/INTRO/Granite+Data+Services+Overview

鏀寔AMF3

  • 鏀寔AMF3
  • EJB3鏈嶅姟鐨勯忔槑externalization鏈哄埗錛屽弬瑙丗lex2鐨勫紑鍙戞枃妗?/li>

    http://www.adobe.com/livedocs/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=ent_services_config_097_11.html
    鍦‵lex鐨勫簭鍒楀寲鍜屽弽搴忓垪鍖栬繃紼嬩腑錛屽彧鑳戒紶閫抪ublic鐨勶紝闈為潤鎬佺殑灞炴э紝濡傛灉瑕佸簭鍒楀寲姝ら儴鍒嗗唴瀹瑰湪Flex涓嶫ava闂翠紶閫掞紝蹇呴』浣跨敤externalization鏈哄埗

  • ActionScript3鐨凚eans鐨凩azy Initialize
  • EJB3瀹炰綋Bean鍒癆ctionScript3鐨勭被鐨勪唬鐮佺敓鎴愶紙璁″垝涓級
  • POJO鏈嶅姟錛堣繙紼嬭皟鐢ㄧ畝鍗旿ava綾葷殑鍏叡鏂規硶錛?/li>
  • 涓緋誨垪Flex緇勪歡鐢ㄤ簬澶嶆潅鐨勬暟鎹粨鏋勶紙璁″垝涓級銆?/li>

    ]]>Flex鐨勪簨浠舵祦http://www.tkk7.com/usherlight/archive/2007/02/11/99340.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Sun, 11 Feb 2007 15:50:00 GMThttp://www.tkk7.com/usherlight/archive/2007/02/11/99340.htmlhttp://www.tkk7.com/usherlight/comments/99340.htmlhttp://www.tkk7.com/usherlight/archive/2007/02/11/99340.html#Feedback1http://www.tkk7.com/usherlight/comments/commentRss/99340.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/99340.htmlFlex鏄竴涓簨浠墮┍鍔ㄧ殑緙栫▼妯″瀷, 浠諱綍浜嬫儏鐨勫彂鐢? 鍏惰儗鍚庡繀鐒跺瓨鍦ㄤ竴涓簨浠? 鑰屽紑鍙戣呯涓嬈$湅鍒癕XML鏃? 寰堥毦浣撲細鍒頒竴涓猉ml鏍囪鐨勫簲鐢ㄧ殑浜嬩歡嫻佸拰瀹炰緥鍖栫殑鐢熷懡鍛ㄦ湡. 榪欎釜瀵逛簬HTML鍜孎lash鐨勫紑鍙戣呭挨鍏朵細鎰熷埌鍥版儜, 鍥犱負鍏剁啛鎮夌殑鏂瑰紡涓嶧lex鐨勪竴鐐逛篃涓嶇浉浼? HTML鐨勫疄渚嬪寲鏄粠涓婂埌涓嬬殑, Flash鐨勬墽琛屾槸浠嶧rame0寮濮嬩竴甯у撫榪愯鐨? 鑰孎lex鍒欏張鏈変笉鍚?

    浠庢垜浠紑濮嬪涔燜lex鏃? 鎴戜滑灝遍渶瑕佷簡瑙d簨浠舵祦鍜孧XML鐨勫疄渚嬪寲. 鎴戦潪甯稿洶鎯戝洜涓烘垜瀹炲湪闅句互鐞嗚В浠涔堟牱鐨勪簨浠朵細琚Е鍙戞垨鑰呬簨浠朵粈涔堟椂鍊欎細琚Е鍙? 鍏抽敭鏄鐞嗚В浜嬩歡鐨勫熀紜騫朵翰鑷瀵熶簨浠舵祦鐨勫垵濮嬪寲.


    鎴戜滑鏉ョ湅涓涓畝鍗曠殑MXML鐨勫簲鐢?

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    聽聽聽 xmlns:mx="聽聽聽 layout="absolute"
    聽聽聽 backgroundGradientColors="[#67cbff, #fcffff]"
    聽聽聽 color="#000000"
    聽聽聽 fontSize="12"聽聽聽
    聽聽聽 preinitialize="report( event , 'preinitialize' )"
    聽聽聽 initialize="report( event , 'initialize' )"
    聽聽聽 creationComplete="report( event , 'creationComplete' )"
    聽聽聽 applicationComplete="report( event , 'applicationComplete' )"
    聽聽聽 >
    聽聽聽
    聽聽聽 <mx:Script>
    聽聽聽聽聽聽聽 <![CDATA[聽聽聽
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    聽聽聽聽聽聽聽聽聽聽聽 [Bindable]
    聽聽聽聽聽聽聽聽聽聽聽
    聽聽聽聽聽聽聽聽聽聽聽 public var outTextData:String="";
    聽聽聽聽聽聽聽聽聽聽聽
    聽聽聽聽聽聽聽聽聽聽聽 public function report( event:Event , value:String ):void
    聽聽聽聽聽聽聽聽聽聽聽 {
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 outTextData += String( flash.utils.getTimer() ) + 'ms >> '
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 + event.currentTarget + '.' + value + '\n';聽聽聽
    聽聽聽聽聽聽聽聽聽聽聽 }
    聽聽聽聽聽聽聽聽聽聽聽
    聽聽聽聽聽聽聽 ]]>
    聽聽聽 </mx:Script>
    聽聽聽
    聽聽聽 <mx:TextArea
    聽聽聽聽聽聽聽 id="outTextArea"
    聽聽聽聽聽聽聽 text="{ outTextData }"
    聽聽聽聽聽聽聽 right="10" left="10" top="50" bottom="10" alpha="0.5"
    聽聽聽聽聽聽聽 wordWrap="false"
    聽聽聽聽聽聽聽 initialize="report( event , 'initialize' )"
    聽聽聽聽聽聽聽 creationComplete="report( event , 'creationComplete' )"
    聽聽聽聽聽聽聽 />
    聽聽聽
    聽聽聽 <mx:Button
    聽聽聽聽聽聽聽 y="10" height="30" left="168" width="150"
    聽聽聽聽聽聽聽 id="HelloButton"
    聽聽聽聽聽聽聽 label="Say Hello"
    聽聽聽聽聽聽聽 initialize="report( event , 'initialize' )"
    聽聽聽聽聽聽聽 creationComplete="report( event , 'creationComplete' )"
    聽聽聽聽聽聽聽 rollOver="report( event , 'rollOver' )"
    聽聽聽聽聽聽聽 rollOut="report( event , 'rollOut' )"
    聽聽聽聽聽聽聽 click="report( event , 'click > Hello!' )"
    聽聽聽聽聽聽聽 />
    聽聽聽聽聽聽聽
    聽聽聽 <mx:Button
    聽聽聽聽聽聽聽 id="GoodByeButton"
    聽聽聽聽聽聽聽 label="Say Goodbye"
    聽聽聽聽聽聽聽 y="10" left="10" height="30" width="150" color="#000000"
    聽聽聽聽聽聽聽 initialize="report( event , 'initialize' )"
    聽聽聽聽聽聽聽 creationComplete="report( event , 'creationComplete' )"
    聽聽聽聽聽聽聽 click="report( event , 'click > Goodbye!' )"
    聽聽聽聽聽聽聽 />
    聽聽聽聽聽聽聽
    聽聽聽 <mx:Button
    聽聽聽聽聽聽聽 id="ClearButton"
    聽聽聽聽聽聽聽 label="Clear"
    聽聽聽聽聽聽聽 y="10" left="326" height="30" color="#000000" right="10"聽聽聽聽聽聽聽
    聽聽聽聽聽聽聽 initialize="report( event , 'initialize' )"
    聽聽聽聽聽聽聽 creationComplete="report( event , 'creationComplete' )"
    聽聽聽聽聽聽聽 click="outTextData='';report( event , 'click' )"
    聽聽聽聽聽聽聽聽 />
    聽聽聽
    </mx:Application>


    榪欎釜搴旂敤榪愯鏃? 杈撳嚭浜嗗疄渚嬫祦紼嬪拰浜嬩歡嫻? 榪欐牎鎴戜滑灝辮兘澶熺湅鍒版墍鏈変簨浠剁殑瑙﹀彂欏哄簭. 鍙互鍙戠幇搴旂敤鍚姩鍚? 浜嬩歡鐨勯『搴忔槸涓瀹氱殑. 涓嬮潰鏄緭鍑虹殑鍐呭:

    167ms >> EventFlow0.preinitialize
    183ms >> EventFlow0.outTextArea.initialize
    187ms >> EventFlow0.HelloButton.initialize
    188ms >> EventFlow0.GoodByeButton.initialize
    189ms >> EventFlow0.ClearButton.initialize
    189ms >> EventFlow0.initialize
    243ms >> EventFlow0.outTextArea.creationComplete
    243ms >> EventFlow0.HelloButton.creationComplete
    243ms >> EventFlow0.GoodByeButton.creationComplete
    244ms >> EventFlow0.ClearButton.creationComplete
    244ms >> EventFlow0.creationComplete
    246ms >> EventFlow0.applicationComplete

    涓鏃pplicationComplete浜嬩歡瑙﹀彂鍚? 緇勪歡灝變細鍦ㄩ紶鏍囦簨浠舵淳鍙戝悗瑙﹀彂鑷繁鐨勪簨浠?

    1807ms >> EventFlow0.HelloButton.rollOver
    2596ms >> EventFlow0.HelloButton.rollOut
    2954ms >> EventFlow0.HelloButton.rollOver
    3170ms >> EventFlow0.HelloButton.rollOut
    3543ms >> EventFlow0.HelloButton.rollOver
    4052ms >> EventFlow0.HelloButton.click > Hello!
    4267ms >> EventFlow0.HelloButton.click > Hello!
    4474ms >> EventFlow0.HelloButton.click > Hello!
    4569ms >> EventFlow0.HelloButton.rollOut
    4907ms >> EventFlow0.GoodByeButton.click > Goodbye!
    5130ms >> EventFlow0.GoodByeButton.click > Goodbye!



    ]]>
    ActionScript3.0/Flex2涓殑鍙嶅皠http://www.tkk7.com/usherlight/archive/2007/02/10/99134.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Sat, 10 Feb 2007 06:32:00 GMThttp://www.tkk7.com/usherlight/archive/2007/02/10/99134.htmlhttp://www.tkk7.com/usherlight/comments/99134.htmlhttp://www.tkk7.com/usherlight/archive/2007/02/10/99134.html#Feedback1http://www.tkk7.com/usherlight/comments/commentRss/99134.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/99134.html

    鍦ˋctionScript 3涓紝浣犱細鍙戠幇鍦╢lash.utils鍖呬腑鏈変竴緋誨垪鍑芥暟鎻愪緵浜嗗弽灝勭殑鍔熻兘銆備富瑕佸寘鍚互涓嬪姛鑳斤細

    聽聽聽 * 紜畾瀵硅薄鐨勭被
    聽聽聽 * 鑾峰彇綾葷殑鎴愬憳銆佹柟娉曘佹瀯閫犲嚱鏁般佺埗綾葷殑淇℃伅
    聽聽聽 * 紜畾鎺ュ彛澹版槑鐨勫父鏁板拰鏂規硶
    聽聽聽 * 鍦ㄨ繍琛屾椂鏍規嵁綾誨悕鍒涘緩綾葷殑瀹炰緥
    聽聽聽 * 鍦ㄨ繍琛屾椂鏍規嵁鎴愬憳鍚嶇О鑾峰彇鎴栬呰緗璞℃垚鍛樼殑鍊?br />聽聽聽 * 鍦ㄨ繍琛屾椂鏍規嵁鏂規硶鍚嶇О錛岃皟鐢ㄥ璞$殑鏂規硶

    浣犲彲浠ヤ嬌鐢ㄧ被浼間簬"describeType"涔嬬被鐨勫姛鑳斤紝瀹冭繑鍥炰竴涓猉ml瀵硅薄銆備婦涓涓緥瀛愶細

    package {
    聽聽聽 import flash.display.Sprite;
    聽聽聽 import flash.utils.describeType;
    聽聽
    聽聽聽 public class DescribeTypeExample extends Sprite {
    聽聽聽聽聽聽聽 public function DescribeTypeExample() {
    聽聽聽聽聽聽聽聽聽聽聽 var child:Sprite = new Sprite();
    聽聽聽聽聽聽聽聽聽聽聽 var description:XML = describeType(child);
    聽聽聽聽聽聽聽聽聽聽聽 trace(description..accessor.@name.toXMLString());
    聽聽聽聽聽聽聽 }
    聽聽聽 }
    }

    濡傛灉浣犳兂榪涗竴姝ワ紝鏍規嵁綾誨悕鍒涘緩瀵硅薄鐨勫疄渚嬶紝鎴戜滑鍙互浣跨敤"getDefinitionByName()"

    package {
    聽聽聽 import flash.display.DisplayObject;
    聽聽聽 import flash.display.Sprite;
    聽聽聽 import flash.utils.getDefinitionByName;

    聽聽聽 public class GetDefinitionByNameExample extends Sprite {
    聽聽聽聽聽聽聽 private var bgColor:uint = 0xFFCC00;
    聽聽聽聽聽聽聽 private var size:uint = 80;

    聽聽聽聽聽聽聽 public function GetDefinitionByNameExample() {
    聽聽聽聽聽聽聽聽聽聽聽 var ClassReference:Class = getDefinitionByName(鈥渇lash.display.Sprite鈥? as Class;
    聽聽聽聽聽聽聽聽聽聽聽 var instance:Object = new ClassReference();
    聽聽聽聽聽聽聽聽聽聽聽 instance.graphics.beginFill(bgColor);
    聽聽聽聽聽聽聽聽聽聽聽 instance.graphics.drawRect(0, 0, size, size);
    聽聽聽聽聽聽聽聽聽聽聽 instance.graphics.endFill();
    聽聽聽聽聽聽聽聽聽聽聽 addChild(DisplayObject(instance));
    聽聽聽聽聽聽聽 }
    聽聽聽 }
    }

    灝界榪欐槸涓浜涢潪甯告柟渚跨殑鏂規硶錛屼絾鏄湪FlashPlayer涓嬌鐢ㄥ弽灝勮繕鏄細鏈夎澶氱殑闄愬埗錛屽洜涓虹己涔忚繍琛屾椂鐨勫姩鎬佹簮鐮佺紪璇戙備笂闈㈢殑鍔熻兘瀵逛簬閭d簺鍦ㄥ唴寤虹殑綾伙紝姣斿錛歋prite綾繪潵璇存棤鐤戞槸鏈夌敤鐨勶紝浣嗘槸瀵逛簬鑷畾涔夌被鏉ヨ錛屾垜浠細閬囧埌寰堝楹葷儲銆傛瘮濡傦細

    package {
    聽聽聽 import com.customtypes.string; // Custom String Implementation Class
    聽聽聽 import flash.utils.getDefinitionByName;

    聽聽聽 public class GetDefinitionByNameExample {
    聽聽聽聽聽聽聽 public function GetDefinitionByNameExample() {
    聽聽聽聽聽聽聽聽聽聽聽 var ClassReference:Class = getDefinitionByName(鈥渃om.customtypes.string鈥? as Class;
    聽聽聽聽聽聽聽聽聽聽聽 var instance:Object = new ClassReference();
    聽聽聽聽聽聽聽聽聽聽聽 instance.customParameter = 鈥渕y parameter鈥?
    聽聽聽聽聽聽聽 }
    聽聽聽 }
    }

    灝界鎴戜滑浣跨敤浜唅mport璇彞錛屼絾鏄?getDefinitionByName()"榪樻槸浼氬け璐ャ傚師鍥犱笂闈㈠凡緇忚榪囦簡錛屽湪榪愯鏃剁紪璇戞簮浠g爜鏄笉鍏佽鐨勩備篃璁鎬互鍚庡彲浠ャ傚湪鐩墠鎯呭喌涓嬶紝瑕佸疄鐜頒笂榪板姛鑳斤紝鑷沖皯瑕佸湪浠g爜涓垵濮嬪寲涓涓被鐨勫疄渚嬨備篃灝辨槸澹版槑涓涓被鐨勫疄渚嬶細

    var customType : com.customtypes.string;



    ]]>
    鍦‵lex搴旂敤涓嬌鐢ㄥ叏灞鍙橀噺http://www.tkk7.com/usherlight/archive/2007/02/06/98259.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Tue, 06 Feb 2007 05:00:00 GMThttp://www.tkk7.com/usherlight/archive/2007/02/06/98259.htmlhttp://www.tkk7.com/usherlight/comments/98259.htmlhttp://www.tkk7.com/usherlight/archive/2007/02/06/98259.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/98259.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/98259.html 鍏跺疄闈炲父綆鍗? 鍙渶瑕佸湪application綾諱腑瀹氫箟涓涓猵ublic綾誨瀷鐨勫彉閲忓氨琛屼簡:

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    	<mx:Script>
    		<![CDATA[
    			public var foo:String = "bar";
    		]]>
    	</mx:Script>
    </mx:Application>

    鍦ㄥ叾瀹冪殑鍦版柟灝卞彲浠ヤ嬌鐢?

    Application.application.foo

    鏉ヨ闂簡. 濡傛灉闇瑕? 涔熷彲浠ユ坊鍔?Bindable 灞炴?
    浣嗘槸瑕佹敞鎰忓埌涓涓棶棰樺氨鏄? 鍦ㄤ嬌鐢ㄧ殑鏃跺欑紪璇戝櫒涓嶄細榪涜綾誨瀷鐨勬鏌? 鍥犳鏈濂芥坊鍔犵被鍨嬪己鍒惰漿鎹?

    褰撶劧, 鍏ㄥ眬鍙橀噺瀹炵幇鐨勫彟涓縐嶆柟娉曟槸浣跨敤鍗曚緥妯″紡.




    ]]>
    鍦‵lex搴旂敤涓嬌鐢ㄦā鍧?modules) Ihttp://www.tkk7.com/usherlight/archive/2007/02/06/98145.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Mon, 05 Feb 2007 16:05:00 GMThttp://www.tkk7.com/usherlight/archive/2007/02/06/98145.htmlhttp://www.tkk7.com/usherlight/comments/98145.htmlhttp://www.tkk7.com/usherlight/archive/2007/02/06/98145.html#Feedback2http://www.tkk7.com/usherlight/comments/commentRss/98145.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/98145.html鏈夎澶氭柟娉曞彲浠ユ妸涓涓簲鐢ㄦ媶鍒嗘垚鍩轟簬涓嫭绔嬩笅杞界殑閮ㄥ垎銆傜敋鑷充簬灝嗘瘡涓被閮藉垎鎴愬崟鐙殑鏂囦歡錛岀敱ClassLoader鍦ㄩ渶瑕佺殑鏃跺欏姞杞姐備絾鏄鏋滆繖鏍鋒晥鐜囨槸姣旇緝浣庝笅鐨勶紝鍥犱負綾葷殑寮曠敤鏈夌潃鏄庢樉鐨勨滃紩鐢ㄥ湴鍩熲濓紱濡傛灉浣犲紩鐢ㄤ簡涓涓被錛屽線寰浼氶┈涓婄壍娑夊埌闇瑕佸紩鐢ㄤ竴澶у爢鍏朵粬鐨勭被錛屽鏋滄妸榪欎簺綾誨叏閮芥墦鍖呭湪涓璧鳳紝鏁堢巼浼氶珮寰楀銆?/p>

    鐢辯紪璇戝櫒鑷姩閫夋嫨涓涓潪甯稿ソ鐨勬墦鍖呮柟娉曟槸姣旇緝鍥伴毦鐨勩傚緢鍙兘闇瑕佸湪搴旂敤寮鍙戞椂榪涜涓浜涜瀹氾紝騫朵笉鏃跺湴鐩戞帶綾葷殑寮曠敤銆傝兘澶熺粺璁″嚭鏈浼樼殑鍒嗘媶鏂規硶錛氬簲鐢ㄥ簲璇ュ垎鎴愬嚑涓猄WF錛屽摢浜涚被搴旇鏀懼湪鍝釜SWF涓備絾鏄繖縐嶆柟娉曞惉璧鋒潵鏇磋薄鏄竴縐嶇爺絀惰寖鐣達紝瀹為檯鎿嶄綔璧鋒潵闈炲父鍥伴毦銆?/p>

    璁╂垜浠潵鐪嬩竴浜涙洿鍏鋒湁鎿嶄綔鎬х殑鏂規硶銆?/p>

    寰堝搴旂敤鍒嗚В鍚庯紝鍖呭惈涓ょ綾誨瀷鐨勫姛鑳斤細鈥滃惎鍔ㄥ悗绔嬪嵆濉厖鈥濆拰鈥滃惎鍔ㄥ悗紼嶅悗濉厖鈥濄?/p>

    鏈夎璁稿澶氱殑搴旂敤鏄繖縐嶆ā寮忕殑銆傛瘮濡傦細娓告垙錛涗綘鏈変竴涓父鎴忓紩鎿庡拰涓浜涙父鎴忓満鏅傛垨鑰匬ortals鍜孭orlets; 涓浜涘熀紜鐨勫叡浜姛鑳藉拰鏁版嵁椹卞姩鐨勫皬搴旂敤銆傛垨鑰呮槸涓涓ぇ鍨嬬殑鏈夌潃1500涓〉闈㈢殑淇濋櫓搴旂敤錛岃繍琛岀壒瀹氬姛鑳芥槸鍙細璁塊棶涓灝忛儴鍒嗙殑欏甸潰銆傛垨鑰呮槸鍏呮枼澶ч噺鍐呭鐨勫簲鐢紝瀹冨彲浠ョ嫭绔嬬殑鏇存柊閮ㄥ垎鍐呭鑰屼笉鏄己鍒剁敤鎴鋒瘡嬈℃祻瑙堟椂閮藉繀欏諱笅杞藉叏閮ㄥ唴瀹廣?/p>

    鎴戠О榪欎簺鐩稿鐙珛鐨勫彲浠ュ歡榪熷姞杞界殑鍔熻兘涓衡滄ā鍧椻?Modules)錛岀О鍔犺澆妯″潡鐨勫簲鐢ㄤ負鈥淪hell鈥濄?/p>

    鍦ㄨ繖閲岋紝鎴戜滑鍏堜笉鐪嬪浣曞仛錛屽厛鏉ョ湅涓浜?/p>

    shell闇瑕佽兘澶熶笌妯″潡浜や簰錛屽悓鏍鋒ā鍧椾篃闇瑕佸拰Shell浜や簰銆傚鏋渟hell寮曠敤浜唌odules鐨勪竴涓被錛岄偅涔堝畠浼氭妸瀹冮摼鎺ヨ繘鏉ャ傚悓鏍鳳紝濡傛灉妯″潡綾誨紩鐢ㄤ簡shell綾伙紝瀹冧篃浼氭妸瀹冮摼鎺ヨ繘鏉ャ傚簲鐢ㄨ兘姝e父榪愯鍙湁涓や釜鏂規硶錛氭垨鑰呭紩鐢ㄦ槸鐩稿悓鑰屼笖鍏變韓鐨?榪欐牱灝變笉闇瑕佷笅杞戒袱嬈?錛屾垨鑰呬袱鑰呮槸涓嶅悓鐨勶紝鑰屼笖娌℃湁浠諱綍鍏崇郴(灝界涓や釜綾誨悕瀛楃浉鍚岋紝浣嗘槸瀹冧滑琚涓烘槸鏃犲叧鐨勶紝鑰屼笖涓嶈兘浜や簰)銆?/p>

    鏈濂界殑瑙e喅鍔炴硶鏄妯″潡鍜宻hell閫氳繃鎺ュ彛浜や簰銆傝繖鏍鳳紝shell涓嶉渶瑕佸紩鐢ㄦā鍧楋紝鑰屾槸寮曠敤妯″潡浼氬疄鐜扮殑涓浜涙帴鍙c傚悓鏍鳳紝妯″潡涓嶅疄鐜皊hell鐨勭被錛岃屾槸鍏佽璋冪敤鐨凙PI鎺ュ彛銆?/p>

    榪欐牱鍦╯hell鍙樺寲鐨勬椂鍊欏噺灝戜簡閲嶆柊緙栬瘧妯″潡鐨勬鏁般傚叿浣撳疄鐜扮殑鍙樺寲棰戠巼寰寰浼氭瘮鎺ュ彛鏈韓鐨勫彉鍖栭珮寰楀錛岃屽彧瑕佹帴鍙gǔ瀹氾紝灝變笉闇瑕侀噸鏂扮紪璇戞墍鏈夌殑涓滆タ銆?/p>

    娉ㄦ剰錛氶渶瑕佷嬌鐢╡xtern錛堟垨鑰卐xtern-library-path)閫夐」鏉ュ垱寤烘ā鍧楋紝榪欐牱鍙互鑷姩鍓旈櫎shell鐨勭被錛屽洜涓烘ā鍧楁槸琚姞杞藉埌shell鐨勫瓙搴旂敤鍩熶腑鐨勶紝灝唖hell鐨勭被鍓旈櫎鏄畨鍏ㄧ殑銆傝繖鏍鋒ā鍧楀彲浠ョ湡姝g洿鎺ュ紩鐢╯hell涓殑綾匯?/p>




    ]]>
    浣跨敤RSL(Runtime Shared Libraries)鏉ュ噺灝廎lex鐢熸垚鐨凷WF鏂囦歡鐨勫ぇ灝?VI) -- 浣跨敤RSL鐨勫畬鏁寸ず渚?/title><link>http://www.tkk7.com/usherlight/archive/2007/02/04/97898.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Sun, 04 Feb 2007 15:36:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2007/02/04/97898.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/97898.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2007/02/04/97898.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/97898.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/97898.html</trackback:ping><description><![CDATA[<p>榪欎釜渚嬪瓙鍖呮嫭浜嗗簲鐢ㄤ腑浣跨敤RSL鐨勫畬鏁存祦紼嬨備嬌鐢ㄥ懡浠よ榪涜緙栬瘧錛屼絾鏄綘鍙互浣跨敤FlexBuilder鐢ㄧ浉鍚岀殑榪囩▼鏉ュ垱寤轟嬌鐢≧SL銆?/p> <p>璁頒綇SWC鏂囦歡鏄竴涓寘鍚玈WF鏂囦歡鐨勪簩榪涘埗鏂囦歡錛岃孲WF鏂囦歡鍖呭惈榪愯鏃剁殑瀹氫箟鍜岄檮灞炲厓鏁版嵁銆備綘鍙互鐢ㄥ帇緙╁伐鍏鋒瘮濡俉inZip鏉ユ墦寮SWC鏂囦歡銆?br />鍦ㄤ嬌鐢≧SL涔嬪墠錛岄鍏堥渶瑕佷簡瑙e浣曢潤鎬侀摼鎺ヤ竴涓猄WC鏂囦歡銆?/p> <p>鍦ㄨ繖涓緥瀛愪腑錛屽簲鐢ㄦ湁涓涓猘pp.mxml鏂囦歡錛屼嬌鐢≒roductConfigurator.as鍜孭roductView.as銆傛枃浠剁洰褰曞涓嬶細</p> <p>project/src/app.mxml<br />project/libsrc/ProductConfigurator.as<br />project/libsrc/ProductView.as <br />project/lib/<br />project/bin/</p> <p> <br />緙栬瘧榪欎釜搴旂敤鏃訛紝鍙互浣跨敤source-path閫夐」灝?libsrc鐩綍涓嬬殑綾婚摼鎺ヨ繘鏉ワ紝鏂規硶濡備笅錛?/p> <p>cd project/src<br />mxmlc -o=../bin/app.swf -source-path+=../libsrc app.mxml</p> <p>榪欎釜鍛戒護娣誨姞ProductConfigurator鍜孭roductView綾誨埌SWF鏂囦歡涓?/p> <p> <br />濡傛灉瑕佸垱寤哄簱錛屽彲浠ョ敤compc鏉ュ垱寤篠WC鏂囦歡錛岀敤涓嬮潰鐨勫懡浠わ細</p> <p>cd project<br />compc -source-path+=libsrc -debug=false -o=lib/mylib.swc<br />ProductConfigurator ProductView</p> <p>娉ㄦ剰瑕佸皢debug閫夐」璁劇疆涓篺alse. 鐢熸垚緇撴灉鏄痯roject/lib/mylib.swc鏂囦歡錛屽寘鍚玃roductConfigurator鍜孭roductView涓や釜綾匯?/p> <p>鐜板湪鍙互浣跨敤鏂板垱寤虹殑搴撴潵閲嶆柊緙栬瘧搴旂敤錛岀敤library-path閫夐」鏉ユ寚瀹氬簱錛屾柟娉曞涓嬶細</p> <p>cd project/src <br />mxmlc -o=../bin/app.swf -library-path+=../lib/mylib.swc app.mxml</p> <p>鍒涘緩搴撲互鍚庯紝浣犲彲浠ョ敤RSL鏉ラ噸鏂扮紪璇戠敓鎴愬簲鐢ㄣ傚畬鏁寸殑姝ラ濡備笅錛?/p> <p>聽聽 1. 鎸囩ず緙栬瘧鍣ㄤ笉瑕佸皢搴撻摼鎺ュ埌搴旂敤涓?br />聽聽 2. 鍑嗗RSL錛屼互渚夸簬鍦ㄨ繍琛屾椂浣跨敤銆?br />聽聽 3. 鎸囩ず緙栬瘧鍣ㄧ敓鎴愰檮鍔犲厓鏁版嵁鐢ㄤ簬鍔犺澆RSL銆?/p> <p> <br />絎竴姝ユ槸鎸囧畾緙栬瘧鐢熸垚搴旂敤鏃跺簱涓殑鍝簺綾婚渶瑕佹帓闄ゅ湪澶栥備富瑕佹槸浣跨敤external-library-path閫夐」錛屽涓嬮潰鐨勪緥瀛愭墍紺猴細</p> <p>cd project/src<br />mxmlc -o=../bin/app.swf -external-library-path+=../lib/mylib.swc app.mxml</p> <p>濡傛灉浣犲皾璇曡繍琛宎pp.swf錛孎lash Player浼氭姏鍑轟竴涓繍琛屾椂寮傚父銆傚洜涓篜roductConfigurator鍜孭roductView綾昏繕鏈畾涔夈俥xternal-library-path閰嶇疆閫夐」鍛婅瘔緙栬瘧鍣ㄧ紪璇戣繖浜涘簱錛屼絾鏄拷鐣ヤ簡瀹氫箟銆備綘涔熷彲浠ヤ嬌鐢╡xterns閫夐」錛屼絾鏄竴鑸潵璇達紝浣跨敤external-library-path鏇存柟渚褲?/p> <p>涓嬩竴姝ユ槸鍑嗗RSL浠ヤ究浜庤兘鍦ㄨ繍琛屾椂鎵懼埌瀹冦傞鍏堜粠SWC鏂囦歡涓皢library.swf瑙e帇鍑烘潵銆?/p> <p>涓嬮潰鏄浣曡В鍘嬬殑渚嬪瓙錛?/p> <p>cd project/lib<br />unzip mylib.swc library.swf<br />mv library.swf ../bin/myrsl.swf</p> <p>姝や緥瀛愪腑灝唋ibrary.swf鏇村悕涓簃yrsl.swf錛屽茍鎶婂畠縐誨姩鍒板簲鐢⊿WF鏂囦歡鎵鍦ㄧ殑鐩綍銆?/p> <p>鏈鍚庝竴姝ユ槸浣跨敤RSL閲嶆柊緙栬瘧搴旂敤銆備富瑕佹槸浣跨敤runtime-shared-libraries閫夐」錛屾柟娉曞涓嬶細</p> <p>cd project/src <br />mxmlc -o=../bin/app.swf -external-library-path+=../lib/mylib.swc <br />-runtime-shared-libraries=myrsl.swf app.mxml</p> <p>鐜板湪鏂扮殑SWF鏂囦歡浼氬湪榪愯搴旂敤鍓嶅姩鎬佸姞杞絉SL浜嗐?/p><img src ="http://www.tkk7.com/usherlight/aggbug/97898.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2007-02-04 23:36 <a href="http://www.tkk7.com/usherlight/archive/2007/02/04/97898.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浣跨敤RSL(Runtime Shared Libraries)鏉ュ噺灝廎lex鐢熸垚鐨凷WF鏂囦歡鐨勫ぇ灝?V) -- 浣跨敤RSLhttp://www.tkk7.com/usherlight/archive/2007/02/01/97340.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Thu, 01 Feb 2007 11:17:00 GMThttp://www.tkk7.com/usherlight/archive/2007/02/01/97340.htmlhttp://www.tkk7.com/usherlight/comments/97340.htmlhttp://www.tkk7.com/usherlight/archive/2007/02/01/97340.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/97340.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/97340.html鍦ㄧ紪璇戝簲鐢ㄦ椂瑕佷嬌鐢≧SL, 闇瑕佷嬌鐢ㄤ笅鍒楃紪璇戦夐」:

    聽聽聽 * runtime-shared-libraries 鎻愪緵榪愯榪愯鏃跺叡浜簱鐨勪綅緗?
    聽聽聽 * external-library-path|externs|load-externs 鎻愪緵緙栬瘧鏃跺簱鐨勪綅緗? 緙栬瘧鍣ㄩ渶瑕佽繖涓俊鎭姩鎬侀摼鎺?


    浣跨敤runtime-shared-libraries閫夐」鏉ユ寚瀹歋WF鏂囦歡鐨勪綅緗? 榪欐牱搴旂敤鑳藉鍦ㄨ繍琛屾椂鍔犺澆RSL. 闇瑕佹寚瀹歋WF涓庨儴緗蹭綅緗殑鐩稿璺緞. 姣斿: 濡傛灉鎶妉ibrary.swf鏂囦歡鏀懼湪web_root/libraries鐩綍涓? 鑰屽簲鐢ㄥ湪web_root鐩綍涓? 閭d箞鏂囦歡鐨勬寚瀹氭柟娉曟槸: libraries/library.swf
    鍙互鐢ㄨ繖涓夐」鎸囧畾澶氫釜搴? 濡傛灉鎸囧畾浜嗗涓簱, 闇瑕佺敤閫楀彿鍒嗛殧.


    浣跨敤external-library-path閫夐」鏉ユ寚瀹歭ibrary鍦ㄧ紪璇戞椂鐨凷WC鏂囦歡鎴栬呯洰褰曠殑浣嶇疆. 緙栬瘧鍣ㄤ細鍦ㄧ紪璇戞椂鏍規嵁榪欎釜閫夐」榪涜閾炬帴鐨勬鏌? 浣犺繕鍙互浣跨敤externs鎴栬卨oad-externs閫夐」鏉ユ寚瀹氬叾浠栧崟鐙殑classes鎴栬厁ml鏂囦歡鏉ュ畾涔夊簱鐨勫唴瀹?


    涓嬮潰鏄竴涓紪璇慚yApp搴旂敤鐨勫懡浠よ紺轟緥, 鍏朵腑浣跨敤浜?涓簱:

    mxmlc -runtime-shared-libraries=
    ../libraries/CustomCellRenderer/library.swf,
    ../libraries/CustomDataGrid/library.swf
    -external-library-path=../libraries/CustomCellRenderer,
    ../libraries/CustomDataGrid MyApp.mxml

    搴撶殑欏哄簭闈炲父閲嶈, 鍥犱負鍩虹綾誨繀欏誨厛鍔犺澆.


    浣犲厛鍙互浣跨敤閰嶇疆鏂囦歡, 紺轟緥濡備笅:

    <compiler>
    聽聽聽 <external-library-path>
    聽聽聽聽聽聽聽 <path-element>../libraries/CustomCellRenderer</path-element>
    聽聽聽聽聽聽聽 <path-element>../libraries/CustomDataGrid</path-element>
    聽聽聽聽聽聽聽 <path-element>../libs/playerglobal.swc</path-element>
    聽聽聽 </external-library-path>
    </compiler>
    <runtime-shared-libraries>
    聽聽聽 <url>../libraries/CustomCellRenderer/library.swf</url>
    聽聽聽 <url>../libraries/CustomDataGrid/library.swf</url>
    </runtime-shared-libraries>


    runtime-shared-libraries閫夐」鍊兼槸library.swf鏂囦歡鏄浉瀵歸儴緗茬洰褰曠殑璺緞. external-library-path閫夐」鏄紪璇戞椂SWC鏂囦歡鐨勮礬寰? 鍥犳, 蹇呴』鍏堢煡閬撳簱鐨勯儴緗茶礬寰?

    紺轟緥涓? 緙栬瘧鏃舵枃浠剁粨鏋勫涓?

    c:/appfiles/MyApp.mxml
    c:/libraries/CustomCellRenderer/CustomCellRenderer.swc
    c:/libraries/CustomDataGrid/CustomDataGrid.swc

    library.swf鍦ㄧ紪璇戣繘涓嶆槸蹇呴渶鐨? Flex緙栬瘧鍣ㄤ笉楠岃瘉SWF鏂囦歡鐨勫瓨鍦ㄤ笌鍚? 浣嗕細鎶婅礬寰勪俊鎭紪璇戣繘琛屾渶鍚庣殑搴旂敤浠g爜涓?


    鏂囦歡鐨勯儴緗茬粨鏋勫涓?

    web_root/MyApp.swf
    web_root/libraries/CustomCellRenderer/library.swf
    web_root/libraries/CustomDataGrid/library.swf



    ]]>
    浣跨敤RSL(Runtime Shared Libraries)鏉ュ噺灝廎lex鐢熸垚鐨凷WF鏂囦歡鐨勫ぇ灝?IV) -- 鍒涘緩RSLhttp://www.tkk7.com/usherlight/archive/2007/02/01/97286.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Thu, 01 Feb 2007 07:25:00 GMThttp://www.tkk7.com/usherlight/archive/2007/02/01/97286.htmlhttp://www.tkk7.com/usherlight/comments/97286.htmlhttp://www.tkk7.com/usherlight/archive/2007/02/01/97286.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/97286.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/97286.html鍒涘緩搴?/p>

    鍙互浣跨敤Flex Builder鎴栬匔ompc鍛戒護琛屾潵鍒涘緩搴? 搴撳彲浠ユ槸涓涓猄WC鏂囦歡, 鎴栬呮槸鍖呭惈浜唋ibrary.swf鍜宑atalog.xml鏂囦歡鐨勭洰褰? 涓涓簱閫氬父鍖呭惈鑷畾涔夌粍浠跺拰綾? 鐒跺悗灝卞彲浠ュ湪RSL涓嬌鐢ㄨ繖浜涘簱浜?

    鍦‵lex Bulder涓? 閫氳繃浣跨敤Flex Library Build Path瀵硅瘽妗嗘潵娣誨姞璧勬簮鍒板簱涓?

    鍦ㄥ懡浠よ涓? 浣跨敤include-classes鍜宨nclude-namespaces閫夐」鏉ユ坊鍔犳枃浠跺埌搴撲腑.

    涓嬮潰鐨勫懡浠よ紺轟緥璇存槑浜嗗浣曞垱寤轟竴涓悕瀛楀彨CustomCellRenderer鐨勫簱:

    compc -source-path ../mycomponents/components/local
    -include-classes CustomCellRendererComponent -directory=true -debug=false
    -output ../libraries/CustomCellRenderer

    鎵鏈夊寘鍚殑緇勪歡蹇呴』鏄潤鎬侀摼鎺ョ殑鏂囦歡. 浣跨敤compc緙栬瘧鍣ㄥ垱寤哄簱鏃? 涓嶈兘浣跨敤include-file閫夐」, 鍥犱負榪欎釜閫夐」涓嶆槸灝唋ibrary.swf鏂囦歡闈欐侀摼鎺ュ埌搴撲腑鐨?

    鍙互浣跨敤directory閫夐」鎸囧畾杈撳嚭鍒頒竴涓洰褰曡屼笉鏄埌涓涓猄WC鏂囦歡涓?

    <?xml version="1.0">
    <flex-config>
    聽聽聽 <compiler>
    聽聽聽聽聽聽聽 <source-path>
    聽聽聽聽聽聽聽聽聽聽聽 <path-element>mycomponents/components/local</path-element>
    聽聽聽聽聽聽聽 </source-path>
    聽聽聽 </compiler>
    聽聽聽 <output>libraries/CustomCellRenderer</output>
    聽聽聽 <directory>true</directory>
    聽聽聽 <debug>false</false>
    聽聽聽 <include-classes>
    聽聽聽聽聽聽聽 <class>CustomCellRendererComponent</class>
    聽聽聽 </include-classes>
    </flex-config>

    杈撳嚭浼氭槸涓涓洰褰?鐩綍閲屽寘鍚袱涓枃浠?br />聽聽聽 * catalog.xml
    聽聽聽 * library.swf

    鍒涘緩library.swf鏂囦歡鍚? 浣犲彲浠ョ紪璇戝簲鐢ㄥ茍涓旀寚瀹氭枃浠剁殑浣嶇疆.



    ]]>
    Bruce Eckel(Thinking in java)鐨勪綔鑰呭Flex鐨勭湅娉?/title><link>http://www.tkk7.com/usherlight/archive/2007/02/01/97120.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Wed, 31 Jan 2007 16:52:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2007/02/01/97120.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/97120.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2007/02/01/97120.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/97120.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/97120.html</trackback:ping><description><![CDATA[<p> <span id="vdvtztv" class="sts">UI鐨勯棶棰樺浣曡В鍐沖憿: AWT, Swing, SWT, 鎴栬呮槸涓浜涘叾浠栫殑姣斿: Tkinter, WxPython涔嬬被鐨勪笢瑗?<br />Bruce璁や負榪欎簺瀵逛簬鍒涘緩涓涓湡姝h法騫沖彴鐨勫簲鐢ㄦ槸涓嶅鐨?<br />浠栬涓烘渶濂界殑瑙e喅鏂規灝辨槸Flex!<br /><br /></span> </p> <p>Flex and Flash provide a complete, unlimited, flexible tool to build user experiences. From the standpoint of a programmer鈥檚 time investment, you can learn a single language for building UIs without worrying about running into problems or limitations later鈥攊ssues like:</p> <ul style="MARGIN-TOP: 0in" type="disc"> <li>Installation problems</li> <li>Constraints on what you can create</li> <li>Sudden steep climbs in the learning curve</li> </ul> <p> <br /> <br />鍘熸枃閾炬帴:</p> <p> <span id="zfplrrz" class="sts"> <a >http://www.artima.com/weblogs/viewpost.jsp?thread=193593</a> </span> </p> <p> <span id="jntxljh" class="sts">Computing Thoughts</span> <br /> <span id="pbnhzzp" class="ts">Hybridizing Java</span> <br /> <span id="tdnhnvp" class="as">by Bruce Eckel</span> <br /> <span id="rdfbvbr" class="pd">January 30, 2007</span> </p><img src ="http://www.tkk7.com/usherlight/aggbug/97120.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2007-02-01 00:52 <a href="http://www.tkk7.com/usherlight/archive/2007/02/01/97120.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浣跨敤RSL(Runtime Shared Libraries)鏉ュ噺灝廎lex鐢熸垚鐨凷WF鏂囦歡鐨勫ぇ灝?III) -- RSL鐨勪紭緙虹偣http://www.tkk7.com/usherlight/archive/2007/02/01/97117.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Wed, 31 Jan 2007 16:43:00 GMThttp://www.tkk7.com/usherlight/archive/2007/02/01/97117.htmlhttp://www.tkk7.com/usherlight/comments/97117.htmlhttp://www.tkk7.com/usherlight/archive/2007/02/01/97117.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/97117.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/97117.html RSL涔熼渶瑕佽皚鎱庝嬌鐢?/strong>

    RSL涔熶笉鏄浜庢墍鏈夌殑搴旂敤閮芥槸鏈夌泭鐨? 闇瑕佸搴旂敤RSL鍓嶅悗鐨勪笅杞芥椂闂村拰鍚姩鏃墮棿閮芥祴璇曡繃, 鎵嶈兘寰楀埌姝g‘鐨勭粨璁?

    RSL涓嶈兘璺ㄥ煙鍏變韓. 濡傛灉瀹㈡埛鍦ㄤ竴涓煙涓嬌鐢ㄤ簡RSL, 鐒跺悗榪愯浜嗗彟涓涓煙鐨勫簲鐢? 铏界劧榪欎袱涓猂SL鏄浉鍚岀殑, 浣嗘槸闇瑕佷笅杞戒袱嬈?

    RSL閫氬父浼氬鍔犲簲鐢ㄧ殑鍚姩鏃墮棿. 榪欐槸搴旂敤涓嶇鏁翠釜搴撳疄闄呭浣曚嬌鐢? 鍙槸綆鍗曞湴鍏ㄩ儴鍔犺澆鏁翠釜搴? 灝辮繖涓鐐規潵璇? RSL瓚婂皬瓚婂ソ. 榪欎笌闈欐侀摼鎺ュ簱鐨勪嬌鐢ㄦ槸涓嶅悓鐨? 褰撲綘緙栬瘧涓涓狥elx搴旂敤鏃? 緙栬瘧鍣ㄥ彧瑙e紑闇瑕佺殑緇勪歡. 涓鑸潵璇? 搴撶殑澶у皬鍙互鏄換鎰忕殑, 瀹冨彧褰卞搷緙栬瘧鏃墮棿鑰屼笉浼氬獎鍝嶄笅杞界殑鏃墮棿.

    濡傛灉鍦ㄥソ鍑犱釜搴旂敤涓嬌鐢ㄧ浉鍚岀殑緇勪歡搴? 閭d箞鍙互鑰冭檻鍚堝茍榪欎簺搴? 褰㈡垚涓涓猂SL. 浣嗘槸濡傛灉搴撳悎騫跺悗, 姣忎釜搴旂敤鍙細鐢ㄥ埌鍏朵腑鐨勪竴灝忛儴鍒? 閭d箞榪樹笉濡傚鍔犺澆鍑犱釜灝廟SL鏇撮珮鏁?

    濡傛灉涓浜涚被閲嶅鎵撳寘鍦ㄥ涓猂SL涓? 閭d箞涓瀹氳娉ㄦ剰鍚屾鏇存柊鐨勯棶棰?

    RSL涓嶈兘搴旂敤鍦ㄥ熀綾繪槸Sprite鎴栬匨ovieClip鐨勭函ActionScript欏圭洰涓? 鍥犱負RSL闇瑕佸熀綾葷煡閬撳浣曞姞杞絉SL, 姣斿: Application鎴栬匰impleApplication.

    鍏充簬聽framework.swc鏂囦歡

    framework.swc鏄竴涓爣鍑嗙殑SWC鏂囦歡. 緙虹渷鍦板畠涓嶈兘鐢ㄤ綔RSL. 鏁翠釜framwork.swc鏂囦歡涓嶈閾炬帴鍒頒換浣曚竴涓簲鐢ㄤ腑. Flex緙栬瘧鍣ㄥ彧灝嗛偅浜涘簲鐢ㄧ敤鍒扮殑閮ㄥ垎閾炬帴鍒扮敓鎴愭渶鍚庣殑SWF鏂囦歡. 姣斿: 濡傛灉涓涓簲鐢ㄥ彧浣跨敤浜咮utton, Panel鍜孴extArea鎺т歡, 閭d箞鍙湁榪欏嚑涓帶浠跺拰瀹冧滑鐨勪緷璧栭」琚紪璇戝櫒閾炬帴.

    鍑犱箮鎵鏈夌殑搴旂敤閮介渶瑕乫ramework.swc鏂囦歡鐨勪竴閮ㄥ垎, 浣嗘槸瀹冨茍涓嶉傚悎浣滀負RSL. 鍘熷洜濡備笂鎹, RSL鏄暣涓摼鎺? 涓嶇瀹為檯浣跨敤澶氬皯鐨? 濡傛灉RSL鍖呭惈浜嗗緢澶氱被, 鑰屽簲鐢ㄥ彧浣跨敤浜嗗叾涓殑涓灝忛儴鍒? 閭d箞榪欐牱鐨勫姞杞芥柟寮忓茍涓嶆槸鏈鍚堢悊鐨? 榪欐牱浣跨敤浼氶犳垚搴旂敤鐨勫惎鍔ㄦ椂闂村ぇ澶у鍔?


    RSL鐨勪紭鐐?/p>

    涓嬮潰鐨勪竴涓緥瀛愯鏄庝簡灝嗗嚑涓殑鍏變韓緇勪歡鍋氭垚RSL鐨勪紭鐐? 鍦ㄨ繖涓緥瀛愪腑, 緇勪歡搴撶殑澶у皬鏄?50K, 緙栬瘧鍚庣殑搴旂敤鐨勫ぇ灝忔槸100K.
    Application size with and without RSLs

    浣跨敤浜哛SL, RSL鍙涓嬭澆涓嬈? 閭d箞鍚堣涓嬭澆閲忔槸350K, 鑺傜害浜?0%. 濡傛灉鍐嶆坊鍔犵3涓? 絎?涓簲鐢ㄧ殑璇? 姣忔閮借兘150K鐨勪笅杞介噺.

    涓鑸潵璇? 鍦ㄤ竴涓煙涓嬌鐢ㄥ悓涓涓猂SL鐨勫簲鐢ㄨ秺澶? 閭d箞濂藉灝辮秺澶?



    ]]>
    浣跨敤RSL(Runtime Shared Libraries)鏉ュ噺灝廎lex鐢熸垚鐨凷WF鏂囦歡鐨勫ぇ灝?II) -- 浠嬬粛閾炬帴(Linking)http://www.tkk7.com/usherlight/archive/2007/01/27/96333.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Sat, 27 Jan 2007 15:42:00 GMThttp://www.tkk7.com/usherlight/archive/2007/01/27/96333.htmlhttp://www.tkk7.com/usherlight/comments/96333.htmlhttp://www.tkk7.com/usherlight/archive/2007/01/27/96333.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/96333.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/96333.html鐞嗚В閾炬帴鍙互甯姪浣犵悊瑙SL鏄庢牱宸ヤ綔鐨? Flex緙栬瘧鍣ㄦ敮鎸侀潤鎬侀摼鎺ュ拰鍔ㄦ侀摼鎺? 闈欐侀摼鎺ユ槸鏈閫氬父鐨勬柟娉? 浣嗘槸鍔ㄦ侀摼鎺ヤ嬌浣犲熷姪浜嶳SL鏉ュ疄鐜癝WF鏂囦歡鐨勭緝姘翠互鍙婂簲鐢ㄧ殑涓嬭澆嬈℃暟.

    褰撲綘浣跨敤闈欐侀摼鎺ユ椂, 緙栬瘧鍣ㄥ皢搴旂敤涓墍鏈夊紩鐢ㄧ殑綾誨拰渚濊禆鐢熸垚鍒版渶緇堢殑SWF鏂囦歡涓? 榪欎釜鏂囦歡浼氭瘮杈冨ぇ, 涓嬭澆涔熶細姣旇緝鎱? 浣嗘槸涓嬭澆瀹屾瘯鍚? 榪愯浼氭瘮杈冨揩, 鍥犱負SWF鏂囦歡涓凡緇忓寘鍚簡鎵鏈夌殑浠g爜.

    濡傛灉浣犵殑搴旂敤涓嬌鐢ㄤ簡綾誨簱, 閭d箞浣犻渶瑕佷嬌鐢ㄧ被璺緞鎴栬呮槸娣誨姞SWC鏂囦歡. 濡傛灉鏄嬌鐢ㄧ被璺緞, 緙栬瘧鍣ㄤ細灝嗙被璺緞涓敤鍒扮殑閭i儴鍒嗙被鎵撳寘鐢熸垚鍒癝WF鏂囦歡涓? 濡傛灉鏄嬌鐢⊿WC鏂囦歡, 緙栬瘧鍣ㄤ細灝嗘暣涓猄WC鏂囦歡鎵撳寘鍒癝WF鏂囦歡涓?

    鍔ㄦ侀摼鎺ユ槸榪欐牱鐨? 涓涓簲鐢ㄨ浣跨敤鐨勪竴閮ㄥ垎綾誨瓨鍦ㄤ簬涓涓閮ㄧ殑鏂囦歡涓? 榪愯鏃跺姩鎬佸姞杞? 榪欐牱鐨勮瘽, 涓籗WF鏂囦歡鍙互灝忎竴浜? 浣嗘槸搴旂敤渚濊禆浜庤繍琛屾椂鍔犺澆鐨勫閮ㄦ枃浠? RSL灝辨槸浣跨敤鍔ㄦ侀摼鎺ョ殑.

    濡傛灉鎯充嬌鐢ㄥ姩鎬侀摼鎺ョ被, 闇瑕佹妸瀹冧滑緙栬瘧鎴愬簱. 鐒跺悗緙栬瘧鍣ㄥ皢搴撲腑鐨勫唴瀹逛粠SWF鏂囦歡鍓旈櫎鍑哄幓. 鑰屼笖蹇呴』鍦ㄧ紪璇戞椂鎻愪緵閾炬帴媯鏌?

    涓烘寚瀹氬摢浜涙枃浠舵槸鍔ㄦ侀摼鎺ョ殑,闇瑕佷嬌鐢ㄥ閮ㄥ簱璺緞閫夐」,澶栭儴閫夐」鎴栬呭閮ㄥ姞杞界紪璇戦夐」. 榪欎簺閫夐」鍛婅瘔緙栬瘧鍣ㄤ粠搴旂敤涓幓闄ゆ閮ㄥ垎鍐呭, 鑰岄澶囧湪榪愯鏃惰皟鐢? 澶栭儴閫夐」涓哄姩鎬侀摼鎺ユ寚瀹氫簡鍗曠嫭鐨勭被. 澶栭儴鍔犺澆閫夐」鎸囧畾浜嗕竴涓猉ML鏂囦歡, 鎻忚堪浜嗗姩鎬侀摼鎺ョ殑綾?

    鎸囧畾SL鐨勫閮ㄨ祫婧愮殑欏哄簭鏄潪甯稿叧閿殑, 鍥犱負琚叾浠栫被璋冪敤鐨勫熀紜綾誨繀欏昏棣栧厛鍔犺澆.

    浣犺繕瑕佺敤runtime-shared-libraries閫夐」鏉ユ寚瀹歊SL鐨勪綅緗?

    浣犲彲浠ヤ嬌鐢╨ink-report榪欎釜緙栬瘧閫夐」鏉ユ煡鐪嬪簲鐢ㄧ殑閾炬帴淇℃伅.



    ]]>
    浣跨敤RSL(Runtime Shared Libraries)鏉ュ噺灝廎lex鐢熸垚鐨凷WF鏂囦歡鐨勫ぇ灝?I) -- 浠嬬粛RSLhttp://www.tkk7.com/usherlight/archive/2007/01/27/96324.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Sat, 27 Jan 2007 14:52:00 GMThttp://www.tkk7.com/usherlight/archive/2007/01/27/96324.htmlhttp://www.tkk7.com/usherlight/comments/96324.htmlhttp://www.tkk7.com/usherlight/archive/2007/01/27/96324.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/96324.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/96324.html鍑忓皬搴旂敤SWF鏂囦歡澶у皬鐨勪竴涓柟娉曞氨鏄皢涓浜涘叡浜殑澶栭儴璧勬簮鎷嗗垎鍑哄幓, 鎴愪負涓涓嫭绔嬬殑鏂囦歡, 榪欐牱鍙互鍗曠嫭鍦板姞杞界紦瀛樺埌瀹㈡埛绔? 榪欎簺鍏變韓璧勬簮鍙互鐢卞涓簲鐢ㄥ湪榪愯鏃惰繘琛屽姞杞? 浣嗘槸浼犻掑埌瀹㈡埛绔殑鍔ㄤ綔鍙細鍙戠敓涓嬈? 榪欎簺鍏變韓鏂囦歡琚О涓鴻繍琛屾椂鍏變韓搴?Runtime Shared Libraries)鎴栬呯畝鍐欎負RSL.

    濡傛灉浣犳湁澶氫釜搴旂敤鑰屼笖榪欎簺搴旂敤鍏變韓涓浜涙牳蹇冪粍浠舵垨鑰呯被, 閭d箞浣滀負RSL,鐢ㄦ埛鍙細鍞竴鐨勪竴嬈″姞杞借繖浜涜祫婧? 鍙搴旂敤鍦ㄥ悓涓涓煙涓? 榪欎簺搴旂敤鍏變韓鍚屼竴涓紦瀛樼殑RSL, 榪欐牱搴旂敤鏂囦歡鐨勫ぇ灝忓氨鍑忓皬浜? 浣跨敤RSL鐨勫簲鐢ㄨ秺澶? 鏁堟灉瓚婂ソ, 濡傛灉鍙湁涓涓簲鐢? 鎬葷殑鏂囦歡澶у皬涓嶄絾涓嶅噺灝?鍙嶈屼細澧炲ぇ.

    浣犳棦鍙互浣跨敤Flex Builder閫氳繃欏圭洰閫夐」鏉ュ垱寤篎lex鐨凩ibrary欏圭洰,涔熷彲浠ヤ嬌鐢╟ompc榪欐牱鐨勫懡浠よ. 緙栬瘧濂絉SL浠ュ悗, 鍙互鍦ㄧ紪璇戝簲鐢ㄦ椂鎶奓ibrary鐨勪綅緗紶閫掔粰緙栬瘧鍣?

    涓嬮潰鏄傚悎浣跨敤RSL鐨勫吀鍨嬬敤渚?
    聽聽聽 * 澶у瀷搴旂敤, 闇瑕佷嬌鐢ㄩ氱敤緇勪歡搴撳姞杞藉涓皬鍨嬪簲鐢? 鏈欏剁駭鐨勫簲鐢ㄥ拰涓嬬駭搴旂敤鍙互鍏變韓瀛樺偍鍦≧SL涓殑緇勪歡.

    聽聽聽 * 鍦ㄤ竴涓湇鍔″櫒涓婄殑浣跨敤閫氱敤緇勪歡搴撶殑緋誨垪搴旂敤. 褰撶敤鎴鋒搷浣滅涓涓簲鐢ㄦ椂, 鐢ㄦ埛涓嬭澆搴旂敤鐨凷WF鏂囦歡鍜孯SL. 褰撴搷浣滅浜屼釜搴旂敤鏃? 鐢ㄦ埛灝卞彧闇瑕佷笅杞藉簲鐢ㄦ湰韜殑SWF鏂囦歡灝辮浜?
    聽聽聽聽
    聽聽聽 * 涓涓嫭绔嬬殑搴旂敤浣跨敤RSL鐨勬剰涔夊湪浜? 濡傛灉榪欎釜搴旂敤鏈韓浼氶綣佺殑淇敼, 鑰屾湁涓閮ㄥ垎緇勪歡鏄瀬灝戞敼鍔ㄧ殑. 鍦ㄨ繖縐嶆儏鍐典笅, 浣跨敤RSL鐨勫ソ澶勬槸: 緇勪歡涓嬭澆涓嬈? 鑰屽簲鐢ㄥ彲浠ュ嬈′笅杞?



    ]]>
    緙栧啓ActionScript3.0涓渶瑕佹敞鎰忕殑10涓棶棰?/title><link>http://www.tkk7.com/usherlight/archive/2007/01/26/96236.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Fri, 26 Jan 2007 15:58:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2007/01/26/96236.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/96236.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2007/01/26/96236.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/96236.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/96236.html</trackback:ping><description><![CDATA[<p>鎬葷粨璧鋒潵闇瑕佹敞鎰忕殑鍘熷垯灝辨槸錛氬敖閲忓湪緙栬瘧鐨勯樁孌靛彂鐜伴敊璇紝鍥犱負榪欐椂鍙戠幇騫惰В鍐抽敊璇繙榪滆姣斿湪榪愯鏃跺嚭閿欒В鍐寵搗鏉ュ鏄撶殑澶氥傚彲鏄疄闄呮儏鍐典腑寰堝浜虹粡甯鎬細榪濆弽榪欎竴鍘熷垯錛屼笅闈㈡槸鎴戝垪涓劇殑10涓妧宸?<br /><br />1) 姘歌繙涓嶈浣跨敤'Object' 鏉ュ瓨鍌ㄦ暟鎹? 鍥犱負榪欐槸涓縐嶇粫寮緙栬瘧鍣ㄦ鏌ョ殑鍋氭硶錛屽畬鍏ㄤ笉絎﹀悎闈㈠悜瀵硅薄鐨勬濇兂銆傚鏋滆鐢℉ashmap鎴栬呯浉搴旂殑鏁扮粍錛岄偅涔堝彲浠ョ敤Dictionary銆傚惁鍒欙紝璇瘋嚜宸插畾涔変竴涓被錛岃屼笉瑕佷嬌鐢∣bject鏉ヤ綔涓烘暟鎹殑瀛樺偍鍣ㄣ?br /><br />2) 涓嶈鐢∣bject鏉ヤ綔涓哄璞$殑綾誨瀷銆傝繖鏄楠楃紪璇戝櫒鐨勬柟娉曘傚鏋滃繀欏昏繖鏍風敤錛屾渶濂藉湪瀛樺彇灞炴ф垨鑰呰皟鐢ㄥ嚱鏁版椂錛屽厛榪涜寮哄埗鎬х殑綾誨瀷杞崲錛岃嚦灝戣繖鏄粰緙栬瘧鍣ㄧ殑涓涓彁紺猴紝涔熷府鍔╁叾浠栦漢鐞嗚В浣犵殑浠g爜銆?/p> <p>3) 涔熶笉瑕佺敤*綾誨瀷銆?/p> <p>4) 涓嶈灝咥ctionScript鐨勭被澹版槑涓哄姩鎬併?/p> <p>5) 娉ㄦ剰Application.application (鍜屽叾浠栫殑鏃犵被鍨嬬殑妗嗘灦灞炴?. 榪欎釜灞炴ф湁涓浜涘彜鎬?聽聽浠栧簲璇ユ槸Applicaton綾誨瀷鐨勶紝鍥犱負浠栨寚鍚戠殑瀹炰緥蹇呴』鏄疉pplication鐨勫瓙綾? 浣嗗疄闄呬笂浠栫殑綾誨瀷鏄?Object', 鏃犳硶搴旂敤緙栬瘧鏃剁殑媯鏌ャ傚鏋滀綘涓瀹氳鐢紝鏈濂戒篃榪涜綾誨瀷鐨勫己鍒舵ц漿鎹€?</p> <blockquote> <p>MyApplication( Application.application ).functionCall();</p> </blockquote> <p>6) 灝佽浣犵殑Xml銆備嬌鐢╔ml涓嶴erver榪涜鏁版嵁鐨勪氦浜掗潪甯告柟渚匡紝浣嗘槸灝介噺閬垮厤浣跨敤Xml浣滀負鏍稿績鏁版嵁妯″瀷銆備粠鏈嶅姟鍣ㄦ敹鍒版暟鎹悗錛屽敖閲忔妸Xml杞崲涓哄己綾誨瀷鐨勫璞℃ā鍨嬨傚湪Flex搴旂敤鍐呴儴浣跨敤Xml鏄粫寮緙栬瘧鍣ㄧ殑浣滄硶銆?</p> <p>7) 涓嶈浣跨敤DynamicEvent. </p> <p>8) 涓嶈浣跨敤mx:Model銆傚涓婃墍榪幫紝璇峰敖閲忎嬌鐢ㄨ嚜瀹氫箟鐨勫己綾誨瀷鐨勭被.</p> <p>9) 涓嶈浣跨敤Cairngorm涓殑data灞炴э紝鑰屽簲璇ョ戶鎵挎墿灞旵airngormEvent鏉ヤ紶閫掓暟鎹?/p> <p>10) 涓嶈鎶婄紪璇戝櫒鐨勪弗鏍兼ā寮忓叧鎺?/p><img src ="http://www.tkk7.com/usherlight/aggbug/96236.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2007-01-26 23:58 <a href="http://www.tkk7.com/usherlight/archive/2007/01/26/96236.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Changes between Cairngorm 2.1 and Cairngorm 2.2 Betahttp://www.tkk7.com/usherlight/archive/2007/01/25/96040.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Thu, 25 Jan 2007 13:08:00 GMThttp://www.tkk7.com/usherlight/archive/2007/01/25/96040.htmlhttp://www.tkk7.com/usherlight/comments/96040.htmlhttp://www.tkk7.com/usherlight/archive/2007/01/25/96040.html#Feedback2http://www.tkk7.com/usherlight/comments/commentRss/96040.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/96040.htmlCairngorm is being packaged. Cairngorm 2.1 introduced a dependency on fds.swc, which isn't part of the standard Flex SDK - it is part of FDS. So, we've repackaged Cairngorm into the core Cairngorm and Cairngorm Enterprise - this also starts aligning Cairngorm with Steven Webster's presentation at Max when he spoke about the Cairngorm Roadmap. We're also now going to to distribute Cairngorm in Binary form (SWC), as a source zip and a documentation zip.

    * Removed dependency on Flex Data Services (fds.swc) - externalised to Cairngorm Enterprise
    * Flex SDK SWCs are no longer linked into Cairngorm.swc (produces a smaller cairngorm.swc)
    * Added support for setting remote credentials
    * Fixed bug with Web services not loading the WSDL (no need to call loadWSDL() explicitly)
    * ModelLocator interface has been deprecated. Added com.adobe.cairngorm.model.IModelLocator
    * Added deprecation metadata for compiler support

    瀵逛簬鎴戞潵璇達紝鍏蟲敞鐨勫彧鏈変竴鐐癸細ModelLocator琚敼鎴怚ModelLocator浜嗐?br />鍏朵粬鐨勫彧鏄疌airngorm鐨勬墦鍖呮柟寮忚屽凡銆?br />Cairngorm2.1涓緷璧栦簬fds.swc錛岃宖ds.swc涓嶆槸Flex SDK涓殑涓滆タ錛屾槸FDS鐨勪竴閮ㄥ垎銆?br />鍦?.2涓細灝咰airngorm鎷嗘垚涓ら儴鍒嗭細Core Cairngorm鍜孋airngorm Enterprise
    鍜孎DS.swc鐩稿叧鐨勯儴鍒嗘斁鍏airngorm Enterprise涓?img src ="http://www.tkk7.com/usherlight/aggbug/96040.html" width = "1" height = "1" />

    ]]>
    Flex 2.0.1 涓嶄粎浠呮槸涓涓畝鍗曠殑鍗囩駭http://www.tkk7.com/usherlight/archive/2007/01/21/95121.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Sun, 21 Jan 2007 05:54:00 GMThttp://www.tkk7.com/usherlight/archive/2007/01/21/95121.htmlhttp://www.tkk7.com/usherlight/comments/95121.htmlhttp://www.tkk7.com/usherlight/archive/2007/01/21/95121.html#Feedback0http://www.tkk7.com/usherlight/comments/commentRss/95121.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/95121.html棣栧厛鍦ㄨ繖涓増鏈腑錛屼慨姝d簡鏁扮櫨涓狟ug

    1. 娣誨姞瀵筂ac鐨勬敮鎸?br />2. 鏀寔Eclipse 3.2錛岃屼笉鏄粎浠呮敮鎸?.1
    3. 榪愯鏃剁殑CSS鏀寔
    4. 澧炲姞浜嗕竴涓狹ercury鐨勬彃浠訛紝鏀寔鑷姩嫻嬭瘯
    5. 鍏朵粬涓浜涘緢媯掔殑鍔熻兘錛氬寘鎷現lashType鐨勫瓧浣撳拰ASDoc鐨勬敮鎸併?/p>

    ]]>
    Flex2涓亶鍘員ree鑺傜偣http://www.tkk7.com/usherlight/archive/2007/01/07/92213.html浜戣嚜鏃犲績姘磋嚜闂?/dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/author>Sun, 07 Jan 2007 06:37:00 GMThttp://www.tkk7.com/usherlight/archive/2007/01/07/92213.htmlhttp://www.tkk7.com/usherlight/comments/92213.htmlhttp://www.tkk7.com/usherlight/archive/2007/01/07/92213.html#Feedback1http://www.tkk7.com/usherlight/comments/commentRss/92213.htmlhttp://www.tkk7.com/usherlight/services/trackbacks/92213.html 榪欎釜鍑芥暟鍙槸涓涓ず渚嬪嚱鏁幫紝婕旂ず濡備綍閬嶅巻涓涓猅ree銆?br />姝ゅ嚱鏁頒弗鏍艱璧鋒潵鍏跺疄鏄袱涓嚱鏁幫細涓婂崐閮ㄥ垎鐢ㄤ簬鍥炴函鐖惰妭鐐癸紝涓嬪崐閮ㄥ垎閫掑綊閬嶅巻瀛愯妭鐐?br />

    /**
    聽* This method will traverse a Tree's model independent of it's
    聽* type.
    聽*
    聽* <p>Note :: This method may look long and arduous but, rest assured
    聽* it has all the checks to perform like a champ. Also, you 'could'
    聽* refactor part of this method but, for the sake of explanation, I
    聽* kept it all in one place.</p>
    聽*
    聽* <p>Remember, I had coupled the model to this method by tracing
    聽* @label, obviously you do not need to do this. The intention of
    聽* this example is to show you that the dataDescriptor seperates
    聽* the models type and is awesome. It enables you to create a tight
    聽* method like this without type checks on the model.</p>
    聽*
    聽* @param tree The Tree instance that will be examined by the method.
    聽* @param item An item found in the dataProvider of the Tree passed in.
    聽* @param startAtParent A boolean that determines if the method upon
    聽* initialization will back up one leve3l to the item passed in and
    聽* start it's recursion at the item's parent node.
    聽*/

    public function walkTree(tree:Tree, item:Object, startAtParent:Boolean = false):void
    {
    聽 聽 // get the Tree's data descriptor
    聽 聽 var descriptor:ITreeDataDescriptor = tree.dataDescriptor;
    聽 聽 var cursor:IViewCursor;
    聽 聽
    聽 聽 var parentItem:Object;
    聽 聽 var childItem:Object;
    聽 聽 var childItems:Object;
    聽 聽
    聽 聽 // if the item is null, stop
    聽 聽 if(item == null)
    聽 聽 聽 聽 return;
    聽 聽 聽 聽
    聽 聽 // do we back up one level to the item's parent
    聽 聽 if(startAtParent)
    聽 聽 {
    聽 聽 聽 聽 // get the parent
    聽 聽 聽 聽 parentItem = tree.getParentItem(item);
    聽 聽 聽 聽 // is the parent real
    聽 聽 聽 聽 if(parentItem)
    聽 聽 聽 聽 {
    聽 聽 聽 聽 聽 聽 trace("|-- Parent Node ", parentItem[tree.labelField]);
    聽 聽 聽 聽 聽 聽 // if the parent is a branch
    聽 聽 聽 聽 聽 聽 if(descriptor.isBranch(parentItem))
    聽 聽 聽 聽 聽 聽 {
    聽 聽 聽 聽 聽 聽 聽 聽 // if the branch has children to run through
    聽 聽 聽 聽 聽 聽 聽 聽 if(descriptor.hasChildren(parentItem))
    聽 聽 聽 聽 聽 聽 聽 聽 {
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // get the children of the branch
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // this part of the algorithm contains the item
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // passed
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 childItems = descriptor.getChildren(parentItem);
    聽 聽 聽 聽 聽 聽 聽 聽 }
    聽 聽 聽 聽 聽 聽 }
    聽 聽 聽 聽 聽 聽 // if the branch has valid child items
    聽 聽 聽 聽 聽 聽 if(childItems)
    聽 聽 聽 聽 聽 聽 {
    聽 聽 聽 聽 聽 聽 聽 聽 // create our back step cursor
    聽 聽 聽 聽 聽 聽 聽 聽 cursor = childItems.createCursor();
    聽 聽 聽 聽 聽 聽 聽 聽 // loop through the items parent's children (item)
    聽 聽 聽 聽 聽 聽 聽 聽 while(!cursor.afterLast)
    聽 聽 聽 聽 聽 聽 聽 聽 {
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // get the current child item
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 childItem = cursor.current;

    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 var label:String = childItem[tree.labelField];
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 var branch:Boolean = descriptor.isBranch(childItem);
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // good place for a custom method()
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 trace("Sibling Nodes :: ", label, "Is Branch :: ", branch);
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // if the child item is a branch
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 if(descriptor.isBranch(childItem))
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // traverse the childs branch all the way down
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // before returning
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 walkTree(tree, childItem);
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // do it again!
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 cursor.moveNext();
    聽 聽 聽 聽 聽 聽 聽 聽 }
    聽 聽 聽 聽 聽 聽 }
    聽 聽 聽 聽 }
    聽 聽 }
    聽 聽 else// we don't want the parent OR this is the second iteration
    聽 聽 {
    聽 聽 聽 聽 // if we are a branch
    聽 聽 聽 聽 if(descriptor.isBranch(item))
    聽 聽 聽 聽 {
    聽 聽 聽 聽 聽 聽 // if the branch has children to run through
    聽 聽 聽 聽 聽 聽 if(descriptor.hasChildren(item))
    聽 聽 聽 聽 聽 聽 {
    聽 聽 聽 聽 聽 聽 聽 聽 // get the children of the branch
    聽 聽 聽 聽 聽 聽 聽 聽 childItems = descriptor.getChildren(item);
    聽 聽 聽 聽 聽 聽 }
    聽 聽 聽 聽 聽 聽
    聽 聽 聽 聽 聽 聽 // if the child items exist
    聽 聽 聽 聽 聽 聽 if(childItems)
    聽 聽 聽 聽 聽 聽 {
    聽 聽 聽 聽 聽 聽 聽 聽 // create our cursor pointer
    聽 聽 聽 聽 聽 聽 聽 聽 cursor = childItems.createCursor();
    聽 聽 聽 聽 聽 聽 聽 聽 // loop through all of the children
    聽 聽 聽 聽 聽 聽 聽 聽 // if one of these children are a branch we will recurse
    聽 聽 聽 聽 聽 聽 聽 聽 while(!cursor.afterLast)
    聽 聽 聽 聽 聽 聽 聽 聽 {
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // get the current child item
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 childItem = cursor.current;

    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 var label:String =聽 childItem[tree.labelField];
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 var branch:Boolean = descriptor.isBranch(childItem);
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // good place for a custom method()
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 trace("-- Sub Node :: ", label, "Is Branch :: ", branch);

    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // if the child item is a branch
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 if(descriptor.isBranch(childItem))
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // traverse the childs branch all the way down
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // before returning
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 walkTree(tree, childItem);
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // check the next child
    聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 cursor.moveNext();
    聽 聽 聽 聽 聽 聽 聽 聽 }
    聽 聽 聽 聽 聽 聽 }
    聽 聽 聽 聽 }
    聽 聽 }
    }





    ]]>
    Cairngorm涓璏odel鏁版嵁鍙樺寲鍚庡浣曡嚜鍔ㄨ皟鐢ㄤ竴涓嚜瀹氫箟鍑芥暟錛?/title><link>http://www.tkk7.com/usherlight/archive/2007/01/07/92181.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Sat, 06 Jan 2007 18:15:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2007/01/07/92181.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/92181.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2007/01/07/92181.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/92181.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/92181.html</trackback:ping><description><![CDATA[<p>聽</p> <p>鍦‵lex鐨勫紑鍙戣繃紼嬩腑錛屽挨鍏舵槸鍦ㄤ嬌鐢–airngorm鐨勬椂鍊欙紝鎬諱細閬囧埌闇瑕佸湪Model鐨勫睘鎬у兼敼鍙樺悗錛岄渶瑕佽皟鐢ㄤ竴涓寚瀹氱殑鍑芥暟銆備紶緇熺殑瑙e喅鏂規硶鏄嬌鐢ㄤ竴涓猄etter鏂規硶錛屽湪榪欎釜鏂規硶涓鍏堝灞炴ц祴鍊鹼紝鐒跺悗璋冪敤鎸囧畾鐨勫嚱鏁幫紝姣斿錛?/p> <p>---------------------------<br />[ChangeEvent("deleteEnabledChange")]<br />public function get deleteEnabled() : Boolean {<br />return _deleteButtonVisible;<br />}</p> <p>public function set deleteEnabled(value : Boolean) : Void {<br />_deleteButtonVisible = value;<br />SimpleButton(deleteButton)._visible = false;<br />dispatchEvent(new Event("deleteEnabledChange", this));<br />}<br />--------------</p> <p>浣嗘槸鐜板湪鎴戜滑鏈変竴涓洿綆媧佺殑瑙e喅涔嬮亾<br />棣栧厛娣誨姞榪欐牱涓涓被<br />package com.adobe.ac.util <br />{ <br />聽聽 public class Observe <br />聽聽 { <br />聽聽聽聽聽 public var handler : Function; <br />聽<br />聽聽聽聽聽 public function set source( source : * ) : void <br />聽聽聽聽聽 { <br />聽聽聽聽聽聽聽聽 handler.call(); <br />聽聽聽聽聽 } <br />聽聽 } <br />}<br />鐒跺悗灝卞彲浠ヤ嬌鐢ㄨ繖涓綔涓烘爣絳句簡銆?br /><util:Observe source="{ model.myProperty }" <br />聽聽聽聽聽聽聽聽聽聽聽聽聽 handler="{ this.myFunction }"/><br />浣跨敤浜嗚繖鏍風殑涓涓爣絳懼悗錛屼粖鍚庡槮鏄model.myProperty榪涜璧嬪鹼紝灝變細璋冪敤myFunction<br />榪欎釜鍙風О涓栦笂鏈灝忕殑鏍囩鏄笉鏄緢濂界敤鍟婏紵<br /></p><img src ="http://www.tkk7.com/usherlight/aggbug/92181.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2007-01-07 02:15 <a href="http://www.tkk7.com/usherlight/archive/2007/01/07/92181.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Cairngorm紺轟緥--涓氬姟閫昏緫濡備綍綆$悊瑙嗗浘錛圛II錛?/title><link>http://www.tkk7.com/usherlight/archive/2006/12/29/90621.html</link><dc:creator>浜戣嚜鏃犲績姘磋嚜闂?/dc:creator><author>浜戣嚜鏃犲績姘磋嚜闂?/author><pubDate>Thu, 28 Dec 2006 16:36:00 GMT</pubDate><guid>http://www.tkk7.com/usherlight/archive/2006/12/29/90621.html</guid><wfw:comment>http://www.tkk7.com/usherlight/comments/90621.html</wfw:comment><comments>http://www.tkk7.com/usherlight/archive/2006/12/29/90621.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/usherlight/comments/commentRss/90621.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/usherlight/services/trackbacks/90621.html</trackback:ping><description><![CDATA[<p>鐜板湪鎴戜滑灝嗗鍔犻獙璇併佹牸寮忓寲鍜屼竴浜涘叾浠栫殑鍔熻兘銆?br />絎洓嬈¤凱浠?-娣誨姞鍔熻兘<br />鐜板湪鎴戜滑鍥炶繃澶存潵鐪嬮偅涓崟瑙嗗浘鐨勫簲鐢紝澧炲姞涓鐐圭湡瀹炴э紝鎴戜滑妯℃嫙涓涓嬭繙紼嬫湇鍔℃湁涓鐐瑰歡鏃躲傛垜浠湪Delegate涓嬌鐢╢lash.utils.setTimeOut鏉ユā鎷熷歡鏃躲?br />閫氬父錛屽綋榪滅▼鏈嶅姟鍦ㄥ鐞嗘椂錛孶I浼氬睍鐜頒竴涓繘搴︽潯錛岀鐢ㄤ竴閮ㄥ垎鎺т歡錛岃鐢ㄦ埛鏄庣櫧涓嶈兘鍐嶆淳鍙戞柊鐨勮姹傘傚湪鎴戜滑鐨勪緥瀛愪腑鍦ㄨ繙紼嬫湇鍔″湪澶勭悊鐨勬椂鍊欙紝鎴戜滑浼氱鐢ㄢ淕et Quote鈥濇寜閽傚畬鎴愯繖涓鐐瑰緢瀹規槗錛屽彧闇瑕佸湪Model瀵硅薄鐨凷tockQuote綾諱腑澧炲姞涓涓垚鍛榠sPending錛屾妸瀹冨畾涔変負涓涓猙ool褰紝榪欐牱鍙互鐩存帴搴旂敤浜庣粦瀹氥?/p> <p>聽</p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000">[Bindable]<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽var聽isPending聽:聽Boolean;</span> </div> <p>聽</p> <p>澧炲姞楠岃瘉<br />鎴戜滑鐜板湪娣誨姞瀵硅偂紲ㄦ姤浠風殑楠岃瘉鍔熻兘錛屽浜庤繖涓鐐癸紝鎴戜滑鍙互浣跨敤mx.validators.StringValidator鏉ュ畬鎴愯繖涓鍔熻兘銆傚簲鐢ㄤ腑榪欎袱涓弬鏁板叡鍚屾帶鍒舵寜閽殑鏈夋晥鎬с傝繖鏍峰彲浠ュ湪Model瀵硅薄涓緗竴涓猧sValid灞炴э紝鐢ㄤ簬緇勫悎榪欎袱鍙傛暟銆?br /></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff">private</span> <span style="COLOR: #000000">聽function聽validate()聽:聽</span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_35_81_Open_Image" onclick="this.style.display='none'; Codehighlighter1_35_81_Open_Text.style.display='none'; Codehighlighter1_35_81_Closed_Image.style.display='inline'; Codehighlighter1_35_81_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_35_81_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_35_81_Closed_Text.style.display='none'; Codehighlighter1_35_81_Open_Image.style.display='inline'; Codehighlighter1_35_81_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /> </span> <span id="Codehighlighter1_35_81_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_35_81_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽isValid聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽(聽isSymbolValid聽</span> <span style="COLOR: #000000">&&</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">!</span> <span style="COLOR: #000000">isPending聽);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> </div> <p>isSymbolValid鏄竴涓睘鎬э紝瀛樻斁StringValidator鐨勭粨鏋溿?br />鍦⊿tockMarketPod.mxml涓坊鍔爉x:StringValidator榪欎釜Tag<br /></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:StringValidator聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #ff0000">minLength</span> <span style="COLOR: #0000ff">="2"</span> <span style="COLOR: #ff0000">聽triggerEvent</span> <span style="COLOR: #0000ff">="change"</span> <span style="COLOR: #ff0000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽source</span> <span style="COLOR: #0000ff">="{聽symbolTextInput聽}"</span> <span style="COLOR: #ff0000">聽property</span> <span style="COLOR: #0000ff">="text"</span> <span style="COLOR: #ff0000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽valid</span> <span style="COLOR: #0000ff">="stockQuote.validateSymbol(聽true聽);"</span> <span style="COLOR: #ff0000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽invalid</span> <span style="COLOR: #0000ff">="stockQuote.validateSymbol(聽false聽);"</span> <span style="COLOR: #0000ff">/></span> </div> <p> <br />浠庤鍥句腑鐩存帴璋冪敤Model瀵硅薄涓嶇鍚圡VC鍘熷垯錛屽洜涓鴻鍥懼師鍒欎笂鍙兘媧懼彂浜嬩歡銆備絾鍦ㄨ繖涓緥瀛愪腑錛岃繖鏍峰凡緇忚凍澶熷ソ浜嗐?/p> <p>澧炲姞鏍煎紡鍖?br />鎴戜滑灝嗚偂紲ㄦ姤浠蜂互閲戦鐨勬柟寮忚繘琛屽睍紺猴紝鍦⊿tockMarketPod.mxml涓鍔犱竴涓猣ormatter<br /></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:CurrencyFormatter聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #ff0000">id</span> <span style="COLOR: #0000ff">="standardEuroFormatter"</span> <span style="COLOR: #ff0000">聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽currencySymbol</span> <span style="COLOR: #0000ff">="$"</span> <span style="COLOR: #ff0000">聽precision</span> <span style="COLOR: #0000ff">="2"</span> <span style="COLOR: #0000ff">/></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />灝唂ormatter鐨勭粨鏋滆繘琛岀粦瀹?br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:Label聽</span> <span style="COLOR: #ff0000">text</span> <span style="COLOR: #0000ff">="{聽standardEuroFormatter.format(聽stockQuote.lastStockQuote聽)聽}"</span> <span style="COLOR: #0000ff">/></span> </div> <p> <br />鐜板湪鐪嬩竴涓嬪畬鏁寸殑StockQuote綾?br /></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff">package</span> <span style="COLOR: #000000">聽com.adobe.cairngorm.samples.dashboard.model<br /><img id="Codehighlighter1_52_734_Open_Image" onclick="this.style.display='none'; Codehighlighter1_52_734_Open_Text.style.display='none'; Codehighlighter1_52_734_Closed_Image.style.display='inline'; Codehighlighter1_52_734_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_52_734_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_52_734_Closed_Text.style.display='none'; Codehighlighter1_52_734_Open_Image.style.display='inline'; Codehighlighter1_52_734_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span> <span id="Codehighlighter1_52_734_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_52_734_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">class</span> <span style="COLOR: #000000">聽StockQuote<br /><img id="Codehighlighter1_80_732_Open_Image" onclick="this.style.display='none'; Codehighlighter1_80_732_Open_Text.style.display='none'; Codehighlighter1_80_732_Closed_Image.style.display='inline'; Codehighlighter1_80_732_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_80_732_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_80_732_Closed_Text.style.display='none'; Codehighlighter1_80_732_Open_Image.style.display='inline'; Codehighlighter1_80_732_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span> <span id="Codehighlighter1_80_732_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_80_732_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽[Bindable]<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽var聽lastStockQuote聽:聽Number;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽[Bindable]<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽var聽isValid聽:聽Boolean;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽[Bindable]<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽var聽statusMessage聽:聽String;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">private</span> <span style="COLOR: #000000">聽var聽_isPending聽:聽Boolean;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">private</span> <span style="COLOR: #000000">聽var聽isSymbolValid聽:聽Boolean;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽[Bindable]<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽function聽get聽isPending()聽:聽Boolean<br /><img id="Codehighlighter1_384_410_Open_Image" onclick="this.style.display='none'; Codehighlighter1_384_410_Open_Text.style.display='none'; Codehighlighter1_384_410_Closed_Image.style.display='inline'; Codehighlighter1_384_410_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_384_410_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_384_410_Closed_Text.style.display='none'; Codehighlighter1_384_410_Open_Image.style.display='inline'; Codehighlighter1_384_410_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span id="Codehighlighter1_384_410_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_384_410_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽_isPending;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽function聽set聽isPending(聽value聽:聽Boolean聽)聽:聽</span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_475_517_Open_Image" onclick="this.style.display='none'; Codehighlighter1_475_517_Open_Text.style.display='none'; Codehighlighter1_475_517_Closed_Image.style.display='inline'; Codehighlighter1_475_517_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_475_517_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_475_517_Closed_Text.style.display='none'; Codehighlighter1_475_517_Open_Image.style.display='inline'; Codehighlighter1_475_517_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span id="Codehighlighter1_475_517_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_475_517_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽_isPending聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽value;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽validate();<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽function聽validateSymbol(聽isValid聽:聽Boolean聽)聽:聽</span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_586_633_Open_Image" onclick="this.style.display='none'; Codehighlighter1_586_633_Open_Text.style.display='none'; Codehighlighter1_586_633_Closed_Image.style.display='inline'; Codehighlighter1_586_633_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_586_633_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_586_633_Closed_Text.style.display='none'; Codehighlighter1_586_633_Open_Image.style.display='inline'; Codehighlighter1_586_633_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span id="Codehighlighter1_586_633_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_586_633_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽isSymbolValid聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽isValid;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽validate();<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">private</span> <span style="COLOR: #000000">聽function聽validate()聽:聽</span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_677_727_Open_Image" onclick="this.style.display='none'; Codehighlighter1_677_727_Open_Text.style.display='none'; Codehighlighter1_677_727_Closed_Image.style.display='inline'; Codehighlighter1_677_727_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_677_727_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_677_727_Closed_Text.style.display='none'; Codehighlighter1_677_727_Open_Image.style.display='inline'; Codehighlighter1_677_727_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span id="Codehighlighter1_677_727_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_677_727_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽isValid聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽(聽isSymbolValid聽</span> <span style="COLOR: #000000">&&</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">!</span> <span style="COLOR: #000000">isPending聽);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽聽聽聽聽}</span> </span> <span style="COLOR: #000000">聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />聽聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> </div> <p>鍏朵腑isPending灞炴х殑鍊肩敱GetStockQuoteCommand鎺у埗<br /></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff">private</span> <span style="COLOR: #000000">聽var聽model聽:聽ModelLocator聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽ModelLocator.getInstance();<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #0000ff">private</span> <span style="COLOR: #000000">聽var聽stockQuote聽:聽StockQuote聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽model.stockQuote;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽function聽execute(聽event聽:聽CairngormEvent聽)聽:聽</span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_180_461_Open_Image" onclick="this.style.display='none'; Codehighlighter1_180_461_Open_Text.style.display='none'; Codehighlighter1_180_461_Closed_Image.style.display='inline'; Codehighlighter1_180_461_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_180_461_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_180_461_Closed_Text.style.display='none'; Codehighlighter1_180_461_Open_Image.style.display='inline'; Codehighlighter1_180_461_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /> </span> <span id="Codehighlighter1_180_461_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_180_461_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽stockQuote.isPending聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">true</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽var聽stockQuoteEvent聽:聽GetStockQuoteEvent聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽GetStockQuoteEvent(聽event聽);聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽var聽symbol聽:聽String聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽stockQuoteEvent.symbol;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽var聽delegate聽:聽StockMarketDelegate聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">new</span> <span style="COLOR: #000000">聽StockMarketDelegate(聽</span> <span style="COLOR: #0000ff">this</span> <span style="COLOR: #000000">聽);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽delegate.getQuoteForSymbol(聽symbol聽);聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽function聽onResult(聽event聽:聽</span> <span style="COLOR: #000000">*</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">null</span> <span style="COLOR: #000000">聽)聽:聽</span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_518_722_Open_Image" onclick="this.style.display='none'; Codehighlighter1_518_722_Open_Text.style.display='none'; Codehighlighter1_518_722_Closed_Image.style.display='inline'; Codehighlighter1_518_722_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_518_722_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_518_722_Closed_Text.style.display='none'; Codehighlighter1_518_722_Open_Image.style.display='inline'; Codehighlighter1_518_722_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /> </span> <span id="Codehighlighter1_518_722_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_518_722_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">for聽demo聽purpose:聽event聽would聽normally聽be聽an聽event聽object聽of聽remote聽service聽result.聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #008000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">聽聽聽聽stockQuote.lastStockQuote聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽event聽as聽Number;聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽stockQuote.isPending聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">false</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽stockQuote.statusMessage聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">""</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #0000ff">public</span> <span style="COLOR: #000000">聽function聽onFault(聽event聽:聽</span> <span style="COLOR: #000000">*</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">null</span> <span style="COLOR: #000000">聽)聽:聽</span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_778_899_Open_Image" onclick="this.style.display='none'; Codehighlighter1_778_899_Open_Text.style.display='none'; Codehighlighter1_778_899_Closed_Image.style.display='inline'; Codehighlighter1_778_899_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_778_899_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_778_899_Closed_Text.style.display='none'; Codehighlighter1_778_899_Open_Image.style.display='inline'; Codehighlighter1_778_899_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /> </span> <span id="Codehighlighter1_778_899_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_778_899_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽stockQuote.lastStockQuote聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽NaN;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽stockQuote.statusMessage聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">Quote聽retrieval聽error.</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽stockQuote.isPending聽</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff">false</span> <span style="COLOR: #000000">;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> </div> <p>鏈鍚庣湅涓涓婼tockMarketPod.mxml鐨勫叏閮ㄤ唬鐮?br /></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff"><?</span> <span style="COLOR: #ff00ff">xml聽version="1.0"聽encoding="utf-8"</span> <span style="COLOR: #0000ff">?></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:Panel聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #ff0000">xmlns:mx</span> <span style="COLOR: #0000ff">="http://www.adobe.com/2006/mxml"</span> <span style="COLOR: #ff0000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽xmlns:util</span> <span style="COLOR: #0000ff">="com.adobe.cairngorm.samples.dashboard.util.*"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:Script</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff"><![CDATA[</span> <span style="COLOR: #808080"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽import聽com.adobe.cairngorm.control.CairngormEventDispatcher;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽import聽com.adobe.cairngorm.samples.dashboard.model.StockQuote;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽import聽com.adobe.cairngorm.samples.dashboard.events.GetStockQuoteEvent;聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽[Bindable]<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽public聽var聽stockQuote聽:聽StockQuote;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽private聽function聽getQuoteForSymbol()聽:聽void<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽var聽event聽:聽GetStockQuoteEvent聽=聽new聽GetStockQuoteEvent(聽symbolTextInput.text聽);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽CairngormEventDispatcher.getInstance().dispatchEvent(聽event聽);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽}<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff">]]></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">mx:Script</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:CurrencyFormatter聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #ff0000">id</span> <span style="COLOR: #0000ff">="standardEuroFormatter"</span> <span style="COLOR: #ff0000">聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽currencySymbol</span> <span style="COLOR: #0000ff">="$"</span> <span style="COLOR: #ff0000">聽precision</span> <span style="COLOR: #0000ff">="2"</span> <span style="COLOR: #0000ff">/></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:StringValidator聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #ff0000">minLength</span> <span style="COLOR: #0000ff">="2"</span> <span style="COLOR: #ff0000">聽triggerEvent</span> <span style="COLOR: #0000ff">="change"</span> <span style="COLOR: #ff0000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽source</span> <span style="COLOR: #0000ff">="{聽symbolTextInput聽}"</span> <span style="COLOR: #ff0000">聽property</span> <span style="COLOR: #0000ff">="text"</span> <span style="COLOR: #ff0000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽valid</span> <span style="COLOR: #0000ff">="stockQuote.validateSymbol(聽true聽);"</span> <span style="COLOR: #ff0000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽invalid</span> <span style="COLOR: #0000ff">="stockQuote.validateSymbol(聽false聽);"</span> <span style="COLOR: #0000ff">/></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:Form</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:FormItem聽</span> <span style="COLOR: #ff0000">label</span> <span style="COLOR: #0000ff">="Symbol"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:TextInput聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #ff0000">id</span> <span style="COLOR: #0000ff">="symbolTextInput"</span> <span style="COLOR: #0000ff">/></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:Button聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #ff0000">label</span> <span style="COLOR: #0000ff">="Get聽Quote"</span> <span style="COLOR: #ff0000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽enabled</span> <span style="COLOR: #0000ff">="{聽stockQuote.isValid聽}"</span> <span style="COLOR: #ff0000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽click</span> <span style="COLOR: #0000ff">="getQuoteForSymbol();"</span> <span style="COLOR: #0000ff">/></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">mx:FormItem</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:FormItem聽</span> <span style="COLOR: #ff0000">label</span> <span style="COLOR: #0000ff">="Price聽Quote"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:Label聽</span> <span style="COLOR: #ff0000">text</span> <span style="COLOR: #0000ff">="{聽standardEuroFormatter.format(聽stockQuote.lastStockQuote聽)聽}"</span> <span style="COLOR: #0000ff">/></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:Label聽</span> <span style="COLOR: #ff0000">text</span> <span style="COLOR: #0000ff">="{聽stockQuote.statusMessage聽}"</span> <span style="COLOR: #0000ff">/></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">mx:FormItem</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">mx:Form</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000">聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">mx:Panel</span> <span style="COLOR: #0000ff">></span> </div> <p> <br />姝よ鍥句腑鎴戜滑涓嶉渶瑕佷嬌鐢∕odelLocator錛岃屾槸浣跨敤StockQuote浣滀負鍙傛暟浼犲叆StockMarketPod.mxml<br />寮曠敤瑙嗗浘鐨勪唬鐮?br /></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">mx:Script</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff"><![CDATA[</span> <span style="COLOR: #808080"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽import聽com.adobe.cairngorm.samples.dashboard.model.ModelLocator;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽import聽com.adobe.cairngorm.samples.dashboard.model.StockQuote;<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽[Bindable]<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽private聽var聽model聽:聽ModelLocator聽=聽ModelLocator.getInstance();<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽[Bindable]<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽private聽var聽stockQuote聽:聽StockQuote聽=聽model.stockQuote;聽聽聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff">]]></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">mx:Script</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">view:StockMarketPod聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #ff0000">stockQuote</span> <span style="COLOR: #0000ff">="{聽stockQuote聽}"</span> <span style="COLOR: #ff0000">聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽title</span> <span style="COLOR: #0000ff">="Stockmarket聽Pod"</span> <span style="COLOR: #0000ff">/></span> </div> <p>聽</p> <p>鍙紶閫掗渶瑕佺殑淇℃伅緇欒鍥炬槸涓涓瘮杈冨ソ鐨勫仛娉曪紝鑰屽敖閲忓皯浣跨敤ModelLocator榪欐牱鐨勫叏灞鍙橀噺錛岃繖鏍蜂篃浣跨敤瑙嗗浘閲嶇敤鎬ф洿楂樸?br /></p><img src ="http://www.tkk7.com/usherlight/aggbug/90621.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/usherlight/" target="_blank">浜戣嚜鏃犲績姘磋嚜闂?/a> 2006-12-29 00:36 <a href="http://www.tkk7.com/usherlight/archive/2006/12/29/90621.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://sdzsks.com" target="_blank">嘿嘿嘿视频免费网站在线观看</a>| <a href="http://yg36.com" target="_blank">国产免费高清69式视频在线观看</a>| <a href="http://wilbysec.com" target="_blank">日本免费中文视频</a>| <a href="http://8123pp.com" target="_blank">久久久精品国产亚洲成人满18免费网站 </a>| <a href="http://w6336.com" target="_blank">国产一区二区三区免费观在线</a>| <a href="http://gzbaida.com" target="_blank">亚洲成a人片在线播放</a>| <a href="http://6nn5.com" target="_blank">japanese色国产在线看免费</a>| <a href="http://927ff.com" target="_blank">中文字幕专区在线亚洲</a>| <a href="http://otkaxap.com" target="_blank">波霸在线精品视频免费观看</a>| <a href="http://chaoxung.com" target="_blank">日韩va亚洲va欧洲va国产</a>| <a href="http://whdysdt.com" target="_blank">免费av片在线观看网站</a>| <a href="http://yutuzb.com" target="_blank">亚洲网红精品大秀在线观看</a>| <a href="http://8xk7u9.com" target="_blank">一本岛高清v不卡免费一三区</a>| <a href="http://9797ww.com" target="_blank">亚洲一区二区三区播放在线 </a>| <a href="http://senimei9.com" target="_blank">国产一区二区三区免费</a>| <a href="http://gzjing365.com" target="_blank">亚洲av色影在线</a>| <a href="http://jmzc888.com" target="_blank">在线视频免费观看爽爽爽</a>| <a href="http://hljc988.com" target="_blank">亚洲精品123区在线观看</a>| <a href="http://chuguo65.com" target="_blank">白白国产永久免费视频</a>| <a href="http://jmzc888.com" target="_blank">最好2018中文免费视频</a>| <a href="http://www999973.com" target="_blank">亚洲国产精品一区第二页</a>| <a href="http://nsmtv.com" target="_blank">亚洲综合免费视频</a>| <a href="http://www-bajie.com" target="_blank">亚洲AV无码成人网站在线观看</a>| <a href="http://www876444.com" target="_blank">免费人成网站在线播放</a>| <a href="http://53reniao.com" target="_blank">日本三级在线观看免费</a>| <a href="http://cpsc-test.com" target="_blank">亚洲高清美女一区二区三区</a>| <a href="http://86trader.com" target="_blank">天天看片天天爽_免费播放</a>| <a href="http://wenbye.com" target="_blank">一个人免费观看视频在线中文</a>| <a href="http://123994.com" target="_blank">亚洲成a人片在线观看无码专区</a>| <a href="http://zdmaid.com" target="_blank">亚洲精品在线免费观看视频</a>| <a href="http://wusongtv.com" target="_blank">亚洲欧美日韩自偷自拍</a>| <a href="http://jiucaoji.com" target="_blank">久久亚洲高清综合</a>| <a href="http://f4f8.com" target="_blank">aⅴ在线免费观看</a>| <a href="http://fzgjw.com" target="_blank">猫咪免费观看人成网站在线</a>| <a href="http://91haikala.com" target="_blank">亚洲AV日韩精品久久久久久久</a>| <a href="http://tzkanglong.com" target="_blank">成人黄色免费网址</a>| <a href="http://xtolm.com" target="_blank">jizz免费观看</a>| <a href="http://bb927bb.com" target="_blank">亚洲国产最大av</a>| <a href="http://2023852.com" target="_blank">亚洲精品国精品久久99热一</a>| <a href="http://yulongfilm.com" target="_blank">日韩免费一区二区三区在线</a>| <a href="http://bnb989.com" target="_blank">yellow视频免费看</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>