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Õâ¸öÊý×éÃûÀ´È¡£¿
ÕâÑùÊÇÈ¡³öºóÃæµÄÊýÖµ£¬2005£¬26.2ʲôµÄ
ÇëÎÊÔõôȡ³ö¡°Äê·Ý¡±£¬¡°ÊÕÈ롱ÕâÁ½¸ö×Ö·û´®
¹þ¹þ£¬ÔÚ±ðµÄÌû×ÓÉÏÕÒµ½ÁË£¬·ÖÏí
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);
}
}
½áÌù
Ïà¹ØÎÊ´ð£º
ÔÚflashÖкÜÈÝÒ×ÄÜʵÏÖ°ÙÒ¶´°Ð§¹û£¬²»ÖªµÀflexÖÐÄÜ·ñͬÑùʵÏÖ¸ÃЧ¹û£¿
flexÖÐòËƲ»ÐУ¬
air¿ÉÒÔ
mark
°ÙÒ¶´°ÊǶà¸öÍøÒ³ÔÚͬһ¸öÒ³ÃæÇл»Âð£¿
ÒýÓÃ
effects\Blinds.as
JScript code
package effec ......
flexÖеÄtree¿Ø¼þÓÐûÓÐÒ»¸öÕâÑùµÄʼþ»òÕߺ¯Êý¿ÉÒÔʵÏÖÈçϹ¦ÄÜ£º
Èç¹ûÓÐ10000¸ö½Úµã£¬ÔÚÊÓÒ°·¶Î§ÄÚÄÜ¿´¼ûµÄÊǵÚ100µ½130¸ö½Úµã£¬Äܲ»ÄÜÔÙÀ¶¯¹ö¶¯ÌõµÄʱºò»ñÈ¡µ±Ç°ÊÓÒ°ÖеÄËùÓнڵãµÄÐÅÏ¢¡£ÄÄÅÂÖ ......
[Bindable]
[Embed(source="../assets/add-row.gif")]
private var vcls:Class;
private function createcompletehandler(event:Event):void{
var img:Image=new Image();
img.sou ......
Flex DataGridµ¥Ôª¸ñÀïµÄ¿Ø¼þÈçºÎÌù±ß
DataGridµ¥Ôª¸ñÀï¿Ø¼þÀëDataGridµÄ±ß×ÜÊÇ»áÁôÒ»µã¿Õ°×µÄµØ·½,ÈçºÎÈÿؼþÖ±½ÓÌù±ß,²»ÈÃÓпհ׵ĵط½
Íò·Ö¸Ðл
³õѧ,ÈÃÏêϸ˵Ã÷Ò»ÏÂ
img=file:///D:/1.jpg][/img]
......