Image 1 is at fbcdn-photos-a.akamaihd.net
Image 2 is at fbcdn-sphotos-a.akamaihd.net
The crossdomain files are identical:
https://fbcdn-sphotos-a.aka
I too was struggling whith this a few days ago... But the all of sudden, it worked by
adding this somewhere when my app inits:
Security.loadPolicyFile("http://graph.facebook.com/crossdomain.xml");
Security.loadPolicyFile("http://profile.ak.fbcdn.net/crossdomain.xml");
Security.allowDomain("*");
Security.allowInsecureDomain("*");
And then i used this to get the picture:
public function getProfilePicture():void {
var myLoader:Loader = new Loader();
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, function(e:Event):void {
pic.bitmapData = Bitmap(myLoader.content).bitmapData;
});
var fileRequest:URLRequest = new URLRequest("http://graph.facebook.com/" + this.uid + "/picture");
var lc:LoaderContext = new LoaderContext();
lc.checkPolicyFile = true;
myLoader.load(fileRequest, lc);
}