flex解决跨域问题
1、在flash中加入
Security.allowDomain("*");
Security.allowInsecureDomain("*");
代码;
2、在引入flash代码中设置一个属性addParam("allowScriptAccess", "always");,设置为always即可。
发布时间: 2012-10-25 10:58:57 作者: rapoo
flex解决跨域问题
1、在flash中加入
Security.allowDomain("*");
Security.allowInsecureDomain("*");
代码;
2、在引入flash代码中设置一个属性addParam("allowScriptAccess", "always");,设置为always即可。