I'm trying to display some Facebook video thumbnails in a Flash application, all of the video thumbnails i try to load seem to be hosted at https://fbcdn-vthumb-a.akamaihd.net.

However crossdomain.xml cannot be loaded (Access Denied). Is there some way around this? (other than loading the images through a proxy). Maybe an alternative url which can be used?

edit: This is a Facebook bug and has been reported

有帮助吗?

解决方案 3

I ended up using a proxy to load the thumbs through so crossdomain was no issue, i've just checked and the crossdomain files are correct now.

其他提示

Try using a LoaderContext in your Loader and set the checkPolicyFile flag to true:

var lc:LoaderContext = new LoaderContext();
lc.checkPolicyFile = true;

var loader:Loader = new Loader();
loader.load(new URLRequest("https://url.com/image/path/name.jpg"), lc);

There are some known issues with crossdomain policy files on Akamai CDNs. Here's an in depth look at a similar problem to yours, and a solution:

http://jessewarden.com/2009/03/handling-crossdomainxml-and-302-redirects-using-netstream.html

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top