弹性加载策略文件 crossdomain.xml [英] flex load policy file crossdomain.xml

查看:26
本文介绍了弹性加载策略文件 crossdomain.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将 crossdomain.xml 文件放在与根目录不同的位置,因为它只会产生很多依赖性问题.

I want to place my crossdomain.xml file in a different location than the root because it just creates to much dependency issues.

我如何告诉 flex 从我的 crossdomain.xml 文件中查看除根以外的其他地方?我是否将 loadPolicy 代码添加到我的 flex 应用程序的 init 方法中?

How can i tell flex to look from my crossdomain.xml file somewhere other than the root?Do i add the loadPolicy code to the init method of my flex app?

有人有这方面的好样本吗?

Does anyone have any good samples on this?

推荐答案

来自 文档:

loadPolicyFile() 方法

loadPolicyFile() method

在由 url 指定的位置参数.

Looks for a policy file at the location specified by the url parameter.

这篇关于弹性加载策略文件 crossdomain.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆