Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 ѧϰվµã»ã×Ü

 Flex ѧϰվµã»ã×Ü
05ÔÂ 6th, 2007 — Dreamer
½ñÌì°ÑÊղؼй²Ïí³öÀ´£¬Ï£Íû¶ÔѧϰFlexµÄÈËÓÐËù°ïÖú¡£
Ò»¡¢¹úÍâÕ¾µã
1.×ÊÔ´Àà
Adobe Flex 2 Component Explorer£º ¹Ù·½µÄ£¬Õ¹Ê¾Á˸÷ÖÖ×é¼þµÄÓ÷¨£¬ÈëÃűؿ´¡£
CFlex£ººÜºÃµÄÒ»¸öFlex×ÊÔ´Õ¾µã£¬°üÀ¨½Ì³Ì£¬ÐÂÎÅ£¬×ÊÔ´Õ¾µã…… Ö»ÊÇÒ³ÃæÓеãÔÓÂÒ£¬ ......

flex 3 ´ÓÒ³ÃæurlÖÐÈ¡²ÎÊýÈ¡ÖµµÄÍêÃÀ½â¾ö·½°¸

1:µ±ÓÃhttp://xxxxx/xxx.mxml?name=hermit·½Ê½·ÃÎÊ ¿ÉÒÔÓÃthis.parameters.nameÕâÖÖ·½Ê½ÔÚflexÀïÃæÈ¡url²ÎÊý
2:µ±ÓÃhttp://xxxxx/xxx.swf?name=hermit·½Ê½·ÃÎÊ ¿ÉÒÔÓÃthis.parameters.nameÕâÖÖ·½Ê½ÔÚflexÀïÃæÈ¡url²ÎÊý
3:µ±ÓÃhttp://xxxxx/xxx.html?name=hermit·½Ê½·ÃÎÊ ¿ÉÒÔÓÃthis.parameters.nameÕâÖÖ·½Ê½ÔÚflexÀïÃæÈ ......

flex xmlºÍarraycollectionÏ໥ת»»

1¡¢arraycollectionת»¯Îªxml£¬´úÂëÈçÏ£º
    
    //¶¯Ì¬Éú³ÉÊ÷Ðνṹ
public static function flatArrayToXML(arr:Object,rootname:String=null,nodename:String=null, outputString:Boolean=false):Object{
if (arr is Array){

......

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

     ÔÚͬһ¸öApplicationÖж¯Ì¬Çл»Ö÷Ì⣬ÕâÀï²ÉÓõÄÊǶ¯Ì¬ÒýÓò»Í¬µÄCSSÎļþ¡£
      ¾ßÌå²½ÖèÈçÏ£º
     1£©´´½¨CSSÎļþ
      skyTheme.css
      /* CSS file */
.backgroudSkin
{
&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ