I've a Loader
that loads a Flickr image, then I draw()
the content of the Loader
.
I get this error:
SecurityError: Error #2122: Security sandbox violation:
LoaderInfo.content: mywebsite/myswf.swf cannot access flickr/imageurl.
A policy file is required, but the checkPolicyFile flag was not set
when this media was loaded. at flash.display::LoaderInfo/get
content()
The corssdomain.xml is loaded from Flickr, I did set checkPolicyFile
to true
for a LoaderContext
that I pass as the 2nd parameter to the load()
method.
What am I missing?
Best Answer
This problem is similar to facebook pictures loading from actionscript as described here http://novacoders.blogspot.com/2011/04/loading-pictures-from-facebook.html