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

FlexºÍAIRÖеÄÀ¬»ø»ØÊÕʵ¼ùÖ®¶ÔÏ󻺴æ[ÒëÎÄ]

Ô­ÎÄ£ºhttp://www.riameeting.com/node/587
ÀïÃæÓÐÒ»¾ä×ܽáÐԵϰ:
ÉèÖÃÒ»¸ö¶ÔÏóΪnull²»Ò»¶¨Äܹ»ÊÍ·ÅËüÕ¼ÓõÄÄڴ攡£ÕâÈ¡¾öÓÚflashÖÐÒѾ­ÊµÏÖµÄÀ¬»ø»ØÊյķ½Ê½£¬GCÓÉÖØ·ÖÅä´¥·¢¶ø²»ÊÇÓÉɾ³ý´¥·¢£¬ÕâÒâζ×ÅGCÖÜÆÚÔÚÄãÉùÃ÷new Object()µÄʱºòÔËÐжø²»ÊÇÄãÉèÖÃËüΪnullʱÔËÐС£
Ò²¾ÍÊÇ˵ÔÚnew ¶ÔÏóʱ²ÅÖØÐ·ÖÅäÄڴ棡 »òÕßÇ¿ÖÆÊ¹flash play³ö´í¶øÖØÐ·ÖÅäÄÚ´æ


Ïà¹ØÎĵµ£º

Flex ÓÅÊÆÖ®ÎÒ¼û

        ÌáǰÉùÃ÷£¬±¾ÎÄÊǸöÈËÔ­´´£¬¶øÇÒ½ö´ú±í¸öÈËÒâ¼û»¹¿´·¨£¬Ï£Íû´ó¼Ò¸øÓèÖ¸Õý¡£
ѧϰӦÓÃFlexÓ¦¸ÃÒ²ÓÐ1ÄêÁË£¬Ôø¾­ÈÃÎÒ·ÏÇÞÍüʳµÄ¼¼Êõ£¬²»¸Ò˵ÏÖÔÚÈ«²¿ÕÆÎÕÁË£¬µ«»ù±¾Ô­ÀíÎÒÒѾ­Ã÷°×ÁË¡£Õâ¸öʱºò͸¹ýÁËFlexÄÇÉñÃØµÄÍâ±í£¬Í¸¹ýÁËÒ»²ã²ãµÄ´óÎí£¬ÈÃÎÒ¿´µÄÔ½À´Ô½ÇåÎúÁË¡£Ô½À´Ô½ÄÜÏëÃ÷°× ......

ActionScript 3 ºÍ Flex¿ò¼ÜµÄÐÔÄÜÓÅ»¯

¼¸ÈÕǰ±»ÀÏ×ÜÍÆ¼öÎÄÕÂһƪ£¬À´×Ô7yueÐÖµÄblog,×÷ÕßÊÇSean Moore ,
Ô­ÎĵØÖ·£ºhttp://www.insideria.com/2009/04/51-actionscript-30-and-flex-op.html
ÓëÆäÔÚ³ÌÐòдÍêÁËÖ®ºóÓ·Ö×µÃÅܲ»¶¯£¬²»ÈçÆ½Ê±×¢ÒâÕâЩ¹Ø¼üµã£¬Ê±Ê±ÌáÐÑ×Ô¼º¡£·­Òë³öÀ´£¬ÒÔ±ãÒÔºóʱʱ²éÔÄ¡£
1 ´´½¨ÐÂÊý×éʱ±ÜÃâʹÓÃËüµÄ¹¹Ô캯Êý¡£
   ......

¸öÈË×ܽáflex¸÷ÖÖÓ÷¨

//»ñµÃÆÁÄ»µÄ·Ö±æÂÊ
var
 x:Number=Capabilities.screenResolutionX;
var
 y:Number=Capabilities.screenResolutionY;
Alert.show(
"x="
+x+
"y="
+y);
µÚ¶þÖÖ·½·¨
Alert.show(stage.fullScreenWidth+
"=="
+stage.fullScreenHeight);
 
//»ñµÃstage£¨¹¤×÷Çø£ ......

12ÌõÓÐÓõÄFlex´úÂë

1.¸´ÖÆÄÚÈݵ½ÏµÍ³¼ôÌù°å
System.setClipboard(strContent);
2.¸´ÖÆÒ»¸öArrayCollection
   //dummy solution( well, it works )
   var bar:ArrayCollection = new ArrayCollection();
   for each ( var i:Object in ac ){
       bar.addItem( ......

FlexʵÏÖDataGridµÄÐòºÅÁÐ

ÒªÔÚFlexµÄDataGridÀïÌí¼ÓÐòºÅÁУ¬´óÌåÉÏÓÐÁ½ÖÖ·½·¨£º
ÉèÖÃDataGridColumnµÄlabelFunction¡£
Æä´óÖµÄ˼·ÊÇ£¬»ñÈ¡µ½µ±Ç°DataGridµÄdataProvider¼°µ±Ç°ÐеÄdata£¬µ÷ÓÃgetItemIndex·½·¨»ñÈ¡µ½µ±Ç°µÄÐеÄÐòºÅ¡£
¾ßÌå¿É²Î¿¼ http://wmcai.blog.163.com/blog/static/480242008111115724283/¡£ÕâÖÖ·½·¨±È½ÏÖ±¹Û£¬Ò²ºÜÈÝÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ