Q:

AS3 Security Sandbox Error when retrieving data from Facebook

I think this is a common problem, but can't find the answer. 
I've got a Flash app that's trying to retrieve data, whenever it attempts to access the data from Facebook I get 
* Security Sandbox Violation *
SecurityDomain 'http://example.com/page.html' tried to access incompatible context 'http://cdn.example.com/flashfile.swf'
This error doesn't happen any other time, only from when I try and access data from Facebook. 
Any clues? 

A:

Have you tried using allowDomain?
import flash.system.Security;
...
Security.allowDomain("facebook.com");

