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

FLEX ¶¯Ì¬±äÁ¿£¨TESTED£©

¶¯Ì¬±äÁ¿£¨TESTED£©
ÒòΪ¶¯Ì¬µÄdataGrid,²úÉú¶¯Ì¬µÄÁÐ
col1 col2 col3.......
ÔÚ»ñÈ¡ÐУ¬¶øÐÐÓÉobject×é³É£¬ÐеÄÿ¸ö×Ö¶ÎÊÇOBJECTµÄÊôÐÔ
±ÈÈç»ñȡijÐÐ object µÚ¶þÁÐ µÄÖµ object.col2
ÐèÒª¶¯Ì¬±äÁ¿
 var obj:Object = arrColl[i];
   for(var j:int=1;j<=colCount;j++){
       temp=obj["col"+j];
        Alert.show(temp,"xx");
}
           for(var j:int=1;j<=colCount;j++){
                  //-----¶¯Ì¬±äÁ¿-----                
                   temp=temp+obj["col"+j]+",";
           }
           Alert.show(temp,"x2");
          }
 
var ÉùÃ÷µÄ±äÁ¿ÊôÓÚinline±äÁ¿£¬Ò²¾ÍÊÇÄÚÁª±äÁ¿¡£Ö»ÓбàÒë֮ǰ²Å¿ÉÒÔÉùÃ÷£¬Ò»µ©±àÒë³ÉSWF¾ÍÎÞ·¨Ìí¼Óɾ³ý¡£
¶øroot["ijijij"+i ]ÔòÊôÓÚÊǶ¯Ì¬±äÁ¿£¬¾ÖÏÞÓÚÓÐdynamic¹Ø¼ü×ÖµÄÀà²Å¿ÉÒÔʹÓ᣼´±ãÒѾ­±àÒë³ÉSWFÒ²¿ÉÒÔ¶¯Ì¬Ìí¼Óɾ³ý¡£
Á½ÕßµÄ×î´óÇø±ð¾ÍÊǶÁдËÙ¶ÈÏàÈ¥ÉõÔ¶¡£ÄÚÁª±äÁ¿Ëٶȱȶ¯Ì¬±äÁ¿¿ì²»ÊÇÒ»µãµã£¬²»¹ýÏà¶ÔµÄ¶¯Ì¬±äÁ¿¿ÉÒÔËæʱÌí¼ÓËæʱɾ³ý±È½ÏÁé»î¡£
 
 
Flex ¶¯Ì¬Ôö¼ÓÊôÐÔ
¹Ø¼ü×Ö: flex
    Flex¿ÉÒÔ¶¯Ì¬´´½¨ÀàµÄÊôÐÔ¡£
    var obj:Object = new Object();
    obj["yourAttribute1"] = yourValue;
    obj["yourAttribute2"] = yourValue;
    obj["yourAttribute3"] = yourValue;
    ÑéÖ¤£º
    trace(obj.yourAttribute1.toString());


Ïà¹ØÎĵµ£º

¹ØÓÚflexºÍspring+hibernateÕûºÏweb.xmlµÄ´íÎó

flexºÍspring+hibernateÕûºÏÍê³Éºóweb.XML³öÏÖÈçÏ´íÎó
The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,reso ......

flex IModuleInfo ×¢²áʼþʧЧÎÊÌâ

ÔÚflex ¿ª·¢ÏîÄ¿ÖУ¬ºÜ¶à¶¼»áʹÓÃModuleÀ´¼õÉÙapplication¼ÓÔعý´óµÄÎÊÌâ¡£ModuleҲȷʵ½â¾öÁËÕâ¸öÎÊÌâ¡£
µ«ÊÇÔÚʹÓÃModule¹ý³ÌÖÐÐèҪעÒâµÄÒ»µã ·Ç³£¹Ø¼üµÄÒ»µãÄǾÍÊÇ ¶¨ÒåÒ»¸öIModuleInfoµÄʱºò Ò»¶¨Òª¼ÇµÃ°Ñ¶¨Òå³ÉÈ«¾Ö±äÁ¿Å¶¡£²»È»¾Í»á³öÏÖ µÚÒ»´Î¼ÓÔز»ÁË ¶þµÚ¶þ´Î µÚÈý´Î¡£¡£¡£¡£¶¼¿ÉÒÔµÄЧ¹û¡£²»×¢ÒâÕâµãÕÒËÀÁ˶¼ÕÒ² ......

Flex°²È«É³Ïä

ÎÄÕÂÒ»£ºhttp://blog.csdn.net/eyking/archive/2009/10/21/4702330.aspx
Flex¾ÍÊÇÖÂÁ¦ÓÚRIAµÄÓ¦Óã¬AdobeΪÁËÀ©´óÕ½³¡£¬ÍƳöÁËAIR»·¾³£¬ÄÇô´Ëʱ²ÉÓÃFlex±àдµÄ³ÌÐòÔÚä¯ÀÀÆ÷ÖÐÓë×ÀÃæ»·¾³Ï¶¼¿ÉÒԺܺõÄÒÆÖ²ÁË¡£ÏñFlexÓëFlashÕâÑùÆæ¹ÖµÄ¶«Î÷£¬Õ½³¡²»½ö½öÔÚä¯ÀÀÆ÷ÉÏ£¬»¹Åܵ½ÁË×ÀÃæ»·¾³Ï¡£Ò»¸öºÜÖØÒªµÄ°²È«Ä£Ð;ͱ»Ìá³öÁË£ºF ......

FLEX TitleWindowÖ®¼äÊý¾Ý´«ÊäµÄʾÀý


ÔÚFlexÀһ°ãµÄµ¯³ö´°¿Ú£¨³ýÁËAlertÒÔÍ⣩¶¼¿ÉÒÔÓÃTitleWindow×é¼þÍê³É£¬Ö÷´°¿ÚºÍTitleWindowµÄÊý¾Ý´«Êä¿ÉÒÔÓÃÒÔÏ·½·¨
¼ÙÉèTitleWindowµÄʵÀýÎļþΪtitleWin.mxml£¬ÔòÒªÔÚApplicationÖÐÓÃPopUpManager´´½¨Ò»¸ötitleWinµÄÒýÓÃ
private var popWin:titleWin = titleWin(PopUpManager.createPopUp(this,titleWin,true) ......

Flexʼþ»úÖÆ

Flexʼþ»úÖÆÊǹ۲ìÕßģʽ£¬¼´Ê×ÏÈҪע²áʼþ£¬Ê¼þ·Ö·¢ºóͨ¹ýʼþÏìÓ¦º¯Êý½øÐд¦Àí¡£
ÀýÈçÔÚAS3ÖУº
button.addEventListener(¡°click¡±,onClick);//Ïòbutton×¢²áÒ»¸öclickʼþ
internal function onClick(evt:MouseEvent):void{txt.text=¡°click a button!¡±;}//ʼþÏìÓ¦º¯Êý ÄÇôע²áʼþ×¢²áʲôÄØ£¿Í¨ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ