复制代码
代码如下:<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
客户端配置
复制代码
代码如下:AC_FL_RunContent(
‘codebase‘, ‘http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0‘,
‘width‘, ‘763‘,
‘height‘, ‘600‘,
‘src‘, ‘*******.swf‘,
‘quality‘, ‘high‘,
‘pluginspage‘, ‘http://www.macromedia.com/go/getflashplayer‘,
‘align‘, ‘middle‘,
‘play‘, ‘true‘,
‘loop‘, ‘true‘,
‘scale‘, ‘showall‘,
‘wmode‘, ‘window‘,
‘devicefont‘, ‘false‘,
‘id‘, ‘game_0.8_1121‘,
‘bgcolor‘, ‘#ffffff‘,
‘name‘, ‘*******.swf‘,
‘menu‘, ‘true‘,
‘allowFullScreen‘, ‘false‘,
‘allowScriptAccess‘,‘always‘,
‘movie‘, ‘#paht‘,
‘salign‘, ‘‘
);
或在object标签中增加:
<param name="allowScriptAccess" value="always" />