Loading Photos from Facebook - Your and Friends - Profile & Gallery
In your base class:
import flash.system.Security;
Security.loadPolicyFile("https://graph.facebook.com/crossdomain.xml");
//the following doesn't exist? is it the https I added?
//Security.loadPolicyFile("https://profile.ak.fbcdn.net/crossdomain.xml");
Security.loadPolicyFile("https://fbcdn-profile-a.akamaihd.net/crossdomain.xml");
Security.allowDomain("*");
Security.allowInsecureDomain("*");
In your loader class:
_imageLoader = new Loader();
var context:LoaderContext = new LoaderContext();
context.checkPolicyFile = true;
trace("Load Image: " + _f);
_imageLoader.load(new URLRequest(_f), context);
(This is not working code, just the snippets that go into your code)











