문제

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