JSÊý×é ÈçºÎת»»³ÉflexµÄÊý×飿
ÈçÌâ
ÎÒÏë´ÓjsÖлñȡһ¸öÊýÖµ£¬È»ºó´«µÝ¸øflex£¬Êý¾ÝÊÇÓÃÀ´×öͼ±íÓõÄ
ÎÊÌâ¾ÍÊÇ
private var medalsAC:ArrayCollection = new ArrayCollection( [
{ Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
{ Country: "China", Gold: 32, Silver:17, Bronze: 14 },
{ Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
Êý¾ÝÈçºÎ·Ö±ð¶ÔÓ¦Country£¬GoldºÍSilverÄØ£¿
Çë¸÷λ½ÌÒ»ÏÂÎÒ£¬Ð»Ð»ÁË£¬
·ÖÊý²»¶à£¬Çë¸÷λ¼ûÁÂ
»¹ÓÐÒ»¸öÎÊÌâÊÇ£¬jsÔõô´«Ò»¸öÊýÖµ¸øflexÄØ£¿
jsÖеÄÊý×é¿ÉÒÔд³ÉÀàËÆÉÏÃæµÄÐÎʽ£¬Ö±½Ó½øÐд«µÝ£¬È»ºóÓÃvar arrCo:ArrayCollection=new ArrayCollection(arr);¾Í¿ÉÒÔ½ÓÊÜÁË£¬arrΪjs´«¹ýÀ´µÄÊý×é¡£js´«Öµ¸øflexµÄ»°¿ÉÒÔÓÃFlexµ÷jsµÄ·½·¨£¬jsµÄ·½·¨Ï൱ÓÚÀàÖеÄget£¬»¹ÓÐÒ»ÖÖ¾ÍÊÇjsµ÷FlexµÄ·½·¨£¬Í¨¹ý²ÎÊý´«µÝ¡£·´ÕýҪôÊǵ÷Óú¯ÊýÈ¡µÃ·µ»ØÖµ£¬ÒªÃ´´«µÝ²ÎÊý£¬ÔÚÁíÒ»¸öÓïÑÔÀï½øÐд¦Àí¡£»ù±¾¶¼²î²»¶à¡£Äã¿ÉÒÔÕÒÒ»ÏÂÕâ·½ÃæµÄ×ÊÁÏ
Â¥ÉϵĿ϶¨²»ÔõôÐУ¬js´«µ½flex´«µÄÊÇ×Ö·û´®£¬¸ù±¾²»»áÊÇÒ»¸öÊý×飬Ҫ°Ñjs¶ËjsonÊý×é´¦ÀíΪ×Ö·û´®È磺
'{ Country: "USA", Gold: 35, Silver:39, Bronze: 29 }',ÔÚflexÖÐʹÓÃÀà¿âjson.decode(string)¿ÉÒÔת±äΪjsonÊý×éµÄ£¬Ò»¸öjsonÊý×é¾ÍÊÇÒ»¸ö¶ÔÏó£¬Ö±½Óµ÷ÓÃÊôÐÔ¾ÍÐУ¬Èçcountry=object.Country,Èç¹ûÊÇÊý×é¼´Êý×éÖÐΪ¶ÔÏ󣬵÷ÓÿÉÒÔÕâÑùдarray[0].country.
str= "0.Gold=35;0.Country=china;0.Silver=39;0.Bronze=29;1.Gold=35;1.Country=USA;1.Silver=39;1.
Ïà¹ØÎÊ´ð£º
ÈçÌ⣬ÇëÏê½â£¡£¡£¡
ʹÓÃflash.media.SoundMixer.stopAll();ÊÔÊÔ
package {
import flash.display.Loader;
import flash.display.Sprite;
import flash.ev ......
flexÈçºÎ½ÓÊÕhtmlÀïµÄ²ÎÊý¡£Ïêϸ˵Ã÷һϡ£ÎÒÓÃBlaedzȥȡremoteObject£¬Ô¶³Ì¶ÔÏóÊÇÓÃjavaµÄjdbc´ÓÊý¾Ý¿âÀï²éѯ³öÀ´µÄ£¬µ«²éѯ·½·¨ÀïÒªÓÃÒ»¸ö²ÎÊý¼ÙÉèÊÇÒ»¸öÖ÷¼üid¡£È»ºóÎÒÓÃjspÈ¥¼ÓÔØflexÉú³ÉµÄswfÎ ......
ÏÖÔÚÒªÇóÓÃflexдһ¸ö×¢²á¿Ø¼þ£¬ÒªÇóÔÚµã»÷×¢²á°´Å¥µÄʱºò£¬°ÑÉÏÊö×¢²áÐÅÏ¢ÒÔXMLÊý¾Ý¸ñʽ±ÈÈç˵ <componentname>Óû§Ãû£º </componentname> <componentcontent>ÕÅÈý </componentcontent>µÄ ......
1£º³ÌÐòÒÔ´ò³Éwar°ü(eclipse´òµÄ)
2£ºÔÚtomcatϲ¿Êðwar°ü£¬¿ÉÒÔÕý³£ÔËÐÐ
3£ºÍ¬ÑùµÄwar°ü£¬²¿Êðµ½websphereÉÏÔËÐÐʱ³öÒì³££¬
Òì³£Ö÷ÒªÐÅÏ¢ÈçÏ£º
´íÎóÐÅÏ¢£º(mx.messaging.messages::ErrorMessage)# ......
application
|
Module1 - Module2 - Module3
|
&n ......