ArrayCollectionÎÊÌâ(flex)
private var chartData1:ArrayCollection = new ArrayCollection([
{Äê·Ý:2005,ÊÕÈë:23.5},
{Äê·Ý:2006,ÊÕÈë:26.2},
{Äê·Ý:2007,ÊÕÈë:30.1},
{Äê·Ý:2008,ÊÕÈë:29.5},
{Äê·Ý:2009,ÊÕÈë:24.6}
]);
ÈçÕâ¸öArrayCollection£¬Ôõôȡ³ö¡°Äê·Ý¡±£¬¡°ÊÕÈ롱£¬ºÍÕâÒ»ÏîµÄ¸öÊý¡°2¡±£¬Í¨¹ýchartData1Õâ¸öÊý×éÃûÀ´È¡£¿
ÕâÒ»ÏîµÄ¸öÊý¡°2¡±ÊÇʲôÒâ˼ Óм¸¸ö2£¿
Ó¦¸ÃÊÇÀàËÆÓÚ¶þάÊý×é°É.
chartData1.Count»ñÈ¡ItemsÊýÁ¿2
chartData1[0][0]ÊÇÄê·Ý
chartData1[0][1]ÊÇÊÕÈë
±§Ç¸£¬AS3ÀïºÃÏó²»ÊÇÕâÑù£¬Õâ¸öJSONºÃÏñºÍÊý×黹ÓÐÇø±ð
¹þ¹þ£¬ÔÚ±ðµÄÌû×ÓÉÏÕÒµ½ÁË£¬·ÖÏí
for(var i:Number=0; i <chartData2.length; i++){
var s:String="";
for(var e:String in chartData2[i]){
s += e +"="+ chartData2[i][e] +"\n";
}
trace(s);
}
}
½áÌù
Ïà¹ØÎÊ´ð£º
asp.net ÈçºÎÓëflex½øÐÐsocketͨѶ
×öÁ˸ö¼òµ¥µÄÁ¬½Ó ¿ÉÒ»Ö±Á¬½Ó²»ÉÏ ºóÀ´²éѯÏà¹ØÎÄÕ ˵ÊÇÐèÒªÏÈÅäÖÃsocket°²È«²ßÂÔÎļþ ¿ÉÊÇÍøÉϴ󲿷ֶ¼ÊÇjavaµÄ ûÓÐ.netµÄ Çë¶®µÄÕâ·½ÃæµÄÈË Ç×ÊÖдһ¶Î´úÂë ½Ì½ÌÔÚ ......
ÎÒµÄJAVA¶Ë·µ»ØµÄÊÇÒ»¸öLIST,Èç¹ûÓÃÏÂÃæµÄ·½·¨,¿ÉÒÔÊÇÄÜÔÚÒ³Ãæ¼ÓÔØÊ±,µÃµ½·þÎñ¶Ë·µ»ØµÄÊý¾ÝµÄ,¼´:
?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx=&qu ......
flexÖеÄtree¿Ø¼þÓÐûÓÐÒ»¸öÕâÑùµÄʼþ»òÕߺ¯Êý¿ÉÒÔʵÏÖÈçϹ¦ÄÜ£º
Èç¹ûÓÐ10000¸ö½Úµã£¬ÔÚÊÓÒ°·¶Î§ÄÚÄÜ¿´¼ûµÄÊǵÚ100µ½130¸ö½Úµã£¬Äܲ»ÄÜÔÙÀ¶¯¹ö¶¯ÌõµÄʱºò»ñÈ¡µ±Ç°ÊÓÒ°ÖеÄËùÓнڵãµÄÐÅÏ¢¡£ÄÄÅÂÖ ......
ÎÒÊǸãjavaµÄ£¨Ö®Ç°ÊÇjsp×÷Ϊ±íÏֲ㣩£¬ÏÖ¹«Ë¾ÊǸãflex¿ª·¢£¬Òò´ËҪѧϰflex£¬µ«ÊÇÎÒ²»ÖªµÀ´ÓºÎѧÆð£¬ÒªÑ§Ï°ÄÄЩ£¿Çë¸÷λ¸ßÊÖÖ¸µã¹þ£¬Ò²¿ÉÒÔ¸øµãСÏîÄ¿Àý×ÓÎÒѧϰ¹þ£¬ÏñflexÖÐÖµµÄ´«Èë´«³öÔÚµ½servlet ͨ¹ýHTTPSERVI ......
ÎÒ´Óºǫ́ȡµ½Ç°Ì¨µÄÊý¾Ý ´ÓHTTPServiceÈ¡µ½Öµºó¸³¸øDataGrid
ÆäÖÐÓÐÒ»ÁеÄÖµ ²»ÏëÖ±½ÓÊä³ö ¶øÇÒÊÇÏëͨ¹ýÅжÏÀ´´¦Àí Èç¹û·ûºÏµÄ»° ¾ÍÔÚDataGridÀí±íʾ³ÉÒ»¸ö·ûºÅ
¸ÕѧFLEX ÏëÎÊÒ»ÏÂÔÚDataGridÖÐÈçºÎдŠ......