Flash 链接无法跨域工作
我寻找答案,但找不到。
我有一个使用 SWFObject 嵌入的 flash 手风琴。 SWF 和相关 XML 文件托管在一个域上。我有大约 10 个站点从其托管位置嵌入此 SWF,包括 SWF 和 XML。手风琴链接到我的域的各个页面。在托管 SWF 和 XML 文件的域中,链接按预期工作。未托管 SWF 的其他域,链接根本不起作用。我通过将 SWF 和 XML 文件放置在每个域本地来验证这是一个跨域问题,并且它们可以工作,但这不是我想要的设置方式。我尝试使用 crossdomain.xml 并允许来自所有主机的访问,但这也不起作用。我还能尝试什么?
I searched for an answer, but I can't find one.
I have a flash accordion embedded using SWFObject. The SWF and related XML file are hosted on one domain. I have about 10 sites embedding this SWF from it's hosted location, both the SWF and the XML. The accordion links to various pages of my domains. The domain in which the SWF and XML file are hosted, the links work as expected. The other domains that the SWF is not hosted on, the links do not work at all. I verified it's a cross domain issue by placing the SWF and XML files locally on each domain and they worked, but this is not how I want it setup. I attempted to use crossdomain.xml and allow access from all hosts but that didn't work either. What else can I try?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
添加到您的 fla 文件
这将启用从任何域加载添加访问权限。
Add to your fla file
This will enable loading add access from any domain.