Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 ×ÊÔ´¹ú¼Ê»¯

ÏÖÔÚflash builder 4ÒѾ­×Ô´øÁ˶àÖÖÓïÑÔ°ü£¬ÔÚʹÓõÄʱºòÖ±½ÓÄùýÀ´ÓþͿÉÒÔÁË£¬ÔÚʹÓÃ×ÊÔ´ÎļþµÄʱºò£¬ÐèÒªÉèÖÃÒ»ÏÂ×ÊÔ´²ÎÊý
-locale=en_US,zh_CN -source-path=locale/{locale}
flex 3.xµÄ°æ±¾µÄsdkÖ»Ö§³ÖÓ¢ÎĺÍÈÕÎÄ£¬Èç¹ûÐèÒªÖÐÎÄ£¬Ôò¿ÉÒÔ´Óflex
4.xsdkµÄ\frameworks\locale¿½±´zh_CNµÈÎļþ¼Ðµ½flex3.xµÄ\frameworks ......

flex webserver .net

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Script>
<!--[CDATA[
import mx.rpc.ev ......

flexͨ¹ýurl´«²ÎÖÁas½Å±¾ÖÐ

£¨×¢£º²ÉÓÃfb4 beta1¿ª·¢£¬ÓÉÓÚ¼æÈÝÎÊÌ⣬¿ÉÒÔÊʵ±¼ÓÒÔÐ޸ķŵ½×Ô¼ºµÄ»·¾³ÖУ¬²âÊÔµÄʱºòÐèÒª·Åµ½·þÎñÆ÷ÉÏÃ棬±¾È˵IJâÊÔurlΪ
http://127.0.0.1/astest/asjs.html?msnum=13112345678£©
mxmlÎļþ£º
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" creation ......

Flex Öнâ¾ö stageΪnullµÄ·½·¨


flexÖÐÔÚDisplayObjectÀïÖ±½ÓÓÃstage£¬¿ÉÄÜ»áÊÇnull£¬Ô­Òò²»ÊÇÌ«Çå³þ£¬ÕÒµ½Á˽â¾ö°ì·¨£¬µ±½ÓÊÕµ½ADDED_TO_STAGEʼþʱ£¬stage¿Ï¶¨±»´´½¨³öÀ´ÁË£¬Õâ¸öʱºòÔÙʹÓþÍûÓÐÎÊÌâ¡£
addEventListener( Event.ADDED_TO_STAGE, function( e:Event ):void ??
{
    stage.addEventListener(KeyboardEvent.KEY_DO ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ