Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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
          &


Ïà¹ØÎĵµ£º

¸öÈËÊղصÄflexÌØЧÍøÖ·¡¾¾­µäÖеļ«Æ·¡¿

 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 ......

FlexÖÐ 12¸ö·Ç³£ÓÐÓú¯Êý

 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 ......

Flex±íµ¥ÖлسµÏÂÒƽ¹µãµÄ·½·¨

¶ÔÓÚÏ°¹ßÁËʹÓÃ×ÀÃæÓ¦ÓóÌÐòµÄÓû§¶øÑÔ£¬»Ø³µºóÏÂÒƽ¹µãµ½ÏÂÒ»¸ö±à¼­×é¼þÖеÄС¹¦ÄÜ£¬ÊǷdz£ÌùÐĵģ¬ÀûÓÃflexÖеÄKEY_DOWNʼþ¿ÉÒÔ·½±ãµÄʵÏֻسµÏÂÒƽ¹µã£¬´úÂëÈçÏ£º
 <?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplet ......

FLEXʵ¼ù—¶¯Ì¬Çл»Ó¦ÓÃƤ·ô

     ÔÚͬһ¸öApplicationÖж¯Ì¬Çл»Ö÷Ì⣬ÕâÀï²ÉÓõÄÊǶ¯Ì¬ÒýÓò»Í¬µÄCSSÎļþ¡£
      ¾ßÌå²½ÖèÈçÏ£º
     1£©´´½¨CSSÎļþ
      skyTheme.css
      /* CSS file */
.backgroudSkin
{
&nbs ......

Flex TypeError: Error #1034: ÀàÐÍת»»Ê§°Ü

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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ