flex TitleWindowÖ®¼äÊý¾Ý´«ÊäµÄʾÀý
ÔÚFlexÀһ°ãµÄµ¯³ö´°¿Ú£¨³ýÁËAlertÒÔÍ⣩¶¼¿ÉÒÔÓÃTitleWindow×é¼þÍê³É£¬Ö÷´°¿ÚºÍTitleWindowµÄÊý¾Ý´«Êä¿ÉÒÔÓÃÒÔÏ·½·¨£º
¼ÙÉèTitleWindowµÄʵÀýÎļþΪtitleWin.mxml£¬ÔòÒªÔÚApplicationÖÐÓÃPopUpManager´´½¨Ò»¸ötitleWinµÄÒýÓÃ
private var popWin:titleWin = titleWin(PopUpManager.createPopUp(this,titleWin,true));
Èç¹ûÒª½«ApplicationµÄÒ»¸ö×é¼þµÄÖµ´«¸øtitleWin£¬ÈçApplicationµÄid="userName"µÄTextInputµÄÖµ´«¸øtitleWin,±ØÐëÏÈÔÚtitleWin.mxmlÀïÉùÃ÷Ò»¸öTextInputµÄ×é¼þ£º
public var userNameInPop:TextInput;
È»ºóÔÚApplicationÀ
popWin.userNameInPop=userName;
ÕâÑù¾ÍÏ൱ÓÚ°ÑApplicationµÄuserNameµÄTextInput×é¼þ´«¸øÁËtitleWin,¿ÉÒÔÔÚtitleWin.mxmlÀï°ó¶¨Õâ¸öֵȻºóÔÚÎı¾¿òÀïÏÔʾ³öÀ´:
[Bindable]
public var userNameInPop:TextInput;
<mx:TextInput x="110" y="39" id="popUserName" text="{userNameInPop.text}"/>
¶øÒª°ÑtitleWinµÄÖµ´«¸øApplicationÔòÖ»ÐèÔÚtitleWin.mxmlÀï°ÑTextInputµÄÖµ¸³¸øuserNameInPopµÄtext¼´¿É£º
userNameInPop.text=popUserName.text;
È«²¿´úÂëÈçÏÂ:
titleWin.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="400" height="300" showCloseButton="true" close="PopUpManager.removePopUp(this)">
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
//[Bindable]
//public var userName:TextInput;
[Bindable]
public var userNameInPop:TextInput;
[Bindable]
public var userEmailInPop:TextInput;
private function showText():void
&
Ïà¹ØÎĵµ£º
http://www.noupe.com/adobe/flex-developers-toolbox-free-components-themes-and-tutorials.html¾µäÖеľµä
http://www.efflex.org/EfflexExplorer.html¿°³Æ¾µä
http://mofeichen.javaeye.com/blog/466171ÀïÃæÓкöàÌØЧÀý×Ó
http://www.marcusschiesser.de/?p=67 3DÏà²á£¬»¹²»´í
http://www.switchont ......
No.1 ij×Ö·ûÆ÷·Åµ½Õ³Ìù°æ:
System.setClipboard(strContent);
No.2 ¸´ÖÆÊý×é:
//dummy solution( well, it works )
var bar:ArrayCollection = new ArrayCollection();
for each ( var i:Object in ac ){
bar.addItem( i );
}
// fantastic ! //
var bar:ListCollectionView = new ListCollectionVi ......
¶ÔÓÚÏ°¹ßÁËʹÓÃ×ÀÃæÓ¦ÓóÌÐòµÄÓû§¶øÑÔ£¬»Ø³µºóÏÂÒƽ¹µãµ½ÏÂÒ»¸ö±à¼×é¼þÖеÄС¹¦ÄÜ£¬ÊǷdz£ÌùÐĵģ¬ÀûÓÃflexÖеÄKEY_DOWNʼþ¿ÉÒÔ·½±ãµÄʵÏֻسµÏÂÒƽ¹µã£¬´úÂëÈçÏ£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplet ......
ÔÚͬһ¸öApplicationÖж¯Ì¬Çл»Ö÷Ì⣬ÕâÀï²ÉÓõÄÊǶ¯Ì¬ÒýÓò»Í¬µÄCSSÎļþ¡£
¾ßÌå²½ÖèÈçÏ£º
1£©´´½¨CSSÎļþ
skyTheme.css
/* CSS file */
.backgroudSkin
{
&nbs ......
TypeError: Error #1034: 強ÖÆÐÍ変換¤Ëʧ敗¤·¤Þ¤·¤¿¡£jp.co.nec.necst.pi.ap2web::TestEvent@1645ee79 ¤ò jp.co.nec.necst.pi.ap2web.TestEvent ¤Ë変換¤Ç¤¤Þ¤»¤ó¡£
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispat ......