I have the following code inside my flex application:

flash.system.Security.loadPolicyFile("http://photos.googleapis.com/
data/crossdomain.xml");
// Initialize the HTTPService
photos.url = "http://picasaweb.google.com/data/feed/api/user/
thang.sy.le";
photos.resultFormat = "e4x";
photos.addEventListener("result", httpResult);
photos.send();

I get the following errors in Flex:
Error: Request for resource at 
http://picasaweb.google.com/data/feed/api/user/thang.sy.le
by requestor from 
file:///E:/Projects/Flex%20Applications/FlexAPI1.3/bin-debug/PhotoViewer.swf
is denied due to lack of policy file permissions.

*** Security Sandbox Violation ***
Connection to http://picasaweb.google.com/data/feed/api/user/thang.sy.le
halted - not permitted from 
file:///E:/Projects/Flex%20Applications/FlexAPI1.3/bin-debug/PhotoViewer.swf
Error: Request for resource at 
http://picasaweb.google.com/data/feed/api/user/thang.sy.le
by requestor from 
file:///E:/Projects/Flex%20Applications/FlexAPI1.3/bin-debug/PhotoViewer.swf
is denied due to lack of policy file permissions.

*** Security Sandbox Violation ***
Connection to http://picasaweb.google.com/data/feed/api/user/thang.sy.le
halted - not permitted from 
file:///E:/Projects/Flex%20Applications/FlexAPI1.3/bin-debug/PhotoViewer.swf

Any thought guys?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to