ÓÃFLEXÈçºÎÈ¡ä¯ÀÀÆ÷µØÖ·À¸ÖеÄÓòÃûÐÅÏ¢£¿
ÓÃFLEXÈçºÎÈ¡ä¯ÀÀÆ÷µØÖ·À¸ÖеÄÓòÃûÐÅÏ¢£¿ÎÒ²éÕÒµ½Á½ÖÖ·½·¨£º
µÚÒ»ÖÖ·½·¨ÊÇÓÃExternalInterface.call('window.location.href.toString')£¬ËüµÄÖµ¾ÍÊǵØÖ·À¸ÖеÄÓòÃû
ÓÐÒÔϼ¸µãÐèҪעÒ⣺
1.µ±FlashºÍ¼ÓÔØËüµÄÍøÒ³²»Í¬Óòʱ£¬ÐèÒªÔÚÍøÒ³ÔÚ PARAM »ò EMBED ±êÇ©ÖнøÐÐÉèÖÃAllowScriptAccess Ϊ“always”
¹ØÓÚAllowScriptAccess £¬²Î¼û¹Ù·½Îĵµ
2.½öÓÃembed±êǩǶÈëÍøÒ³£¬ÔÚIEä¯ÀÀÆ÷ÖÐÈ¡µ½µÄֵΪ¿Õ£¬FFÀïÕý³£¡£ËùÒÔ±ØÐëÒªobject±êÇ©£¬¼°idÖµ£¬¹ØÓÚΪʲô»áÕâÑù£¬Çë¿´ÁíÍâһƪÍøÕª
ÎÒ²âÊԳɹ¦IE,FF¾ù¿ÉÈ¡µ½ÓòÃûµÄhtml´úÂëÈçÏ£º
view plaincopy to clipboardprint?
<object id="flashpaper" width="950" height="500" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="movie" value="http://www.text.com/t.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="allowscriptaccess" value="always"/>
<embed width="950" height="500" allowscriptaccess="always" allowfullscreen="true" src="http://www.test.com/t.swf" type="application/x-shockwave-flash"/>
</object>
µÚ¶þÖÖ·½·¨ÊÇÓÃBrowserManager½âÎöURL ʾÀý£ºmxml
view plaincopy to clipboardprint?
<?xml version="1.0" encoding
Ïà¹ØÎĵµ£º
<?xml version="1.0" encoding="utf-8"?>
<!-- Simple example to demonstrate the DateTimeAxis class. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
import mx.collections.ArrayCollection;
......
¿ªÊ¼ÈÕÆÚ Óë ½áÊøÈÕÆڵķ¶Î§Ñ¡Ôñ
Á½Õ߶¼²»ÄÜ´óÓÚ½ñÌ죬¿ªÊ¼ÈÕÆÚ²»ÄÜ´óÓÚ½áÊøÈÕÆÚ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" backgroundGradientColors="[#ffffff, #ffffff]">
<mx:Script>
......
FlexдµÄÒ»¸ö¹¤×÷Á÷Éè¼ÆÆ÷ÔÐÍ
2004ÄêÒÔÀ´Ò»Ö±¹Ø×¢Flex£¬2009ÄêÒ²°²ÅÅһЩÏîÄ¿²ÉÓÃFlex¼¼Êõ¿ª·¢£¬×ÜÌ廹²»´í¡£Äêµ×¼¨Ð§¿¼ºË½áÊø£¬ÊÂÇé²»¶à£¬ÓÚÊÇ×Ô¼º»¨Á½Ììʱ¼äÒ²Ç×ÊÖдÁËÒ»¸öFlexµÄ¹¤×÷Á÷Éè¼ÆÆ÷£¬¶ÔFlexÌå»áÒ²¸üÉîÁË¡£Éè¼ÆÆ÷µÄ½çÃæÈçÏÂͼËùʾ£¬»¹ºÜ´Ö²Ú£¬ËãÊÇÒ»¸ö»ù±¾ÔÐÍ°É¡£¿ª·¢¹ý³ÌÖÐÓ ......
Flex±àÒë²ÎÊý
accessible=true|false ÊÇ·ñ¾ßÓпÉÀí½âÐÔ£¨ÈçΪ²Ð¼²ÈËÌṩ·½±ãµÄÐÔÄÜ£©
actionscript-file-encoding | ÉèÖÃÎļþ±àÂ룬ÈçShitf_JIS
advanced | mxmlc -help advanced£¬ÈçÕâÑùµÄ¸ß¼¶²ÎÊý
allow-source-path-overlap=true|false | ÑéÖ¤source-pathÖж¨ÒåµÄ·¾¶ÊÇ·ñ³öÏÖÖصþ£¬³öÏÖ»¥Ïà°üº¬µÄÏÖÏó
as3=true|fa ......
C++winsocket·þÎñ¶Ë£¬Flex as3¿Í»§¶Ë¡£·þÎñ¶ËBind°ó¶¨IP127.0.0.1¶Ë¿Ú2020£¬ÔÚFlexÖÐʹÓÃSocket.connectÏò·þÎñÆ÷·¢ÆðÁ´½Ó¡£µ±FlexÔÚ±¾µØÔËÐеÄʱºòÄÜÁ´½Ó³É¹¦, µ«ÊÇͨ¹ýÓòÃû·ÃÎÊʱ³öÏÖSecurity´íÎó, Error #2048
¡£²¢ÇÒÔÚÁ¬½Óʱ, ·þÎñ¶ËÊÕµ½¿Í»§¶Ë·¢À´µÄÏûÏ¢<policy-file-request/>
ÏûÏ¢¡£
³¢ÊÔ½â¾ö:
ÉÏgoogleËÑË ......