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

¹ØÓÚFlex°²È«É³ÏäÎÊÌâµÄ½â¾ö

×î½üÓöµ½ÁËflex µÄ°²È«É³ÏäÎÊÌ⣬ÕÒÁ˺ܶà×ÊÁÏ·¢ÏÖ²»ÊǶ¼ÊǺÍÎÒ£¬ÎҵijÌÐòÐèÒªsocketÁ¬½Ó£¬¶ø´ó¶àÊý½²µÄ¶¼ÊÇ¿çÓòÎļþ¶ÁÈ¡µÄ¡£ÎÒÏÈ°ÑÁ½ÖÖ·½·¨¶¼×ܽá³öÀ´£º
¿çÓòÎļþ¶ÁÈ¡
·½·¨Ò»£ºÔÚÄ¿±ê·þÎñÆ÷Éϲ¼Êðcrossdomain.xmlÎļþ(ÎÒÓõĴ˷½·¨ºÜ¹ÜÓ㬷ÅÉϾÍûÎÊÌâÁË) ÐèÒªÔ¶³Ì·þÎñ¸ùĿ¼¶¨ÒåÓÐcrossdomain.xmlÎļþ£¬ÈçÏ£º
<?xml version="1.0" encoding="UTF-8" ?> <cross-domain-policy>     <allow-access-from domain="*"/> </cross-domain-policy>
·½·¨¶þ£ºÊ¹ÓôúÀí£¬°ÑFlexÒª·ÃÎʵÄÔ¶³ÌÎļþͨ¹ýasp, php, jspµÈ½Å±¾¶ÁÈ¡µ½±¾µØ£¬È»ºóÔÙÓÉFlexÈ¥·ÃÎÊ£»
·½·¨Èý£ºÊ¹ÓÃAdobe flash player 9 ´ò¿ª³ÌÐòºó£¬µã»÷²Ëµ¥À¸ÖÐÎļþ->´´½¨²¥·ÅÆ÷...¼´Éú³ÉexeÎļþ£¬ÔËÐÐexeÎļþ¼´¿ÉÍ»ÆÆ°²È«ÏÞÖÆ£»
·½·¨ËÄ£º     1¡¢ÕÒµ½Õâ¸öÎļþ¼Ð£ºc:\Documents and Settings\<UserName>\Application         Data\Macromedia\Flash Player\#Security     2¡¢ÔÚÆäϽ¨Á¢Ò»¸öÃûΪ"FlashPlayerTrust"µÄÎļþ¼Ð     3¡¢ÔÚ"FlashPlayerTrust"Îļþ¼ÐÏÂн¨Ò»TXTÎļþ£¬ÄÚÈÝÈçÏ£º         c:\         d:\         e:\         f:\     4¡¢½«¸ÃtxtÎļþÃüÃûΪ:"myTrustFiles.cfg"     ÔÙ´ò¿ªÄãÓ²ÅÌÀïµÄSWFÎļþ,¾Í²»»á³öÏÖÄǸö·³È˵ݲȫÉèÖÃÌáʾ´°¿ÚÁË!
·½·¨Î壺 ÓÃHttpServiceËüĬÈÏÊÇÓÐProxyµÄ£¬ÐèÒªÅäÖÃflex-config.xml£¬ÀïÃæÓÐÒ»¶Î£º <http-service-proxy>      <whitelist>         ………………     </whitelist> </http-service-proxy>
Õâ¸öÊÇ°×Ãûµ¥£¬Ò»°ãÇé¿öÏÂÊÇ×¢Ê͵ôµÄ£¬Ò²¾ÍÊÇĬÈÏÖ»Óб¾µØµÄhttp://{localserver}/*ºÍhttps://{localserver}/*¿ÉÒÔ·ÃÎÊ¡£ÆäËûµÄÐèÒªÔÚflex-config.xmlÀïµÄ×ÔÐÐÐ޸ijÉÐèÒªµÄ¾Í¿ÉÒÔÁË¡£
·ÃÎʱ¾µØ×ÔÈ»²»»á¿çÓò£¬²»¹ýÄã¿Ï¶¨·ÃÎʾÖÓòÍøÆäËû»úÆ÷ÁË£¬ËùÒÔÊÇÒÀÕÕ°×Ãûµ¥¹æÔò£¬ÊôÓÚ¿çÓò
SocketɳÏäÎÊÌâ
ÔÚFlexÖÐʹÓ


Ïà¹ØÎĵµ£º

flex Alert×é¼þÓ÷¨


<?
xml
 
version
=
"1.0"
?>
  
<!-- Simple example to demonstrate the Alert control. -->
  
<
mx:Application
 
xmlns:mx
=
"http://www.adobe.com/2006/mxml"
>
  
&n ......

¸ßЧÂʵij¬´ó¹æÄ£Flex¿ª·¢

Adobe Flex¿ª·¢Ó봫ͳµÄWeb¿ª·¢Óкܶ಻֮ͬ´¦¡£ÕýÈ·µÄÀí½âºÍÀûÓÃÕâЩ²»Í¬Ö®´¦£¬¿ÉÒÔ°ïÖúÎÒÃÇ´´½¨¸ü·á¸»µÄÓû§ÌåÑ飬Ҳ¿ÉÒÔ·´¹ýÀ´Ôö¼ÓÍøÕ¾µÄ¿ÉÓÃÐÔÒÔ¼°ä¯ÀÀºÍ¸üÐÂËٶȡ£Flex»¹ÌṩÁË´óÁ¿µÄ×é¼þºÍ¼¼Êõ¿âÀ´ÈÃWeb¿ª·¢¸ü¼ÓÇáËÉ——ËüÌṩµÄÇ¿´ó¹¤¾ßÒªÔ¶Ô¶³¬¹ý´«Í³Web 2.0ÖеÄÒì²½JavaScriptºÍXML£¨Ajax£©Ó¦ÓᣴËÍ⣬ ......

Flex AdvancedDataGridµÄʹÓã¬Ë­ÄܸæËßÎÒѽ£¿

×¢£ºµÚÒ»ÁÐÊÇ´øCheckboxµÄTree¡£
»¹ÓÐÎÊÌâÇë½Ì¸÷λ£º
   labelFieldÊÇÔªËضÔÏóµÄÊôÐÔÊÇÏÔʾ²»ÁË£¨carInfo.car_name£©£¬ºÃÏñÖ»¿ÉÏÔʾͬ¼¶µÄÊôÐÔÔõô½â¾ö£¿Ï£Íû¸÷λÄÜ°ïÖúÎÒ£¬Thanks!
 <mx:AdvancedDataGrid id="adg"  width="100%" height="100%" dataProvider="{instance.cars}"
  &n ......

flexÊ÷ÐÎÑ¡ÔñÓû§µÄʵÏÖ

ʹÓÃflex tree ºÍlistʵÏÖÈçÏÂÑ¡ÔñÓû§µÄЧ¹û
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
                showCloseButton="true" creationComplete ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ