So I have a flash widget that I want to make into a Google Gadget.

Using the Google Gadget Editor I create a new Single Flash Ad and
specify the url to my SWF. When I try to preview it I get this error:

Error #2044: Unhandled securityError:. text=Error #2048: Security
sandbox violation: 
http://www.gmodules.com/ig/proxy/max_age,1/http://www.innerrewards.com/globals/widget/google-gadget.swf
cannot load data from 
http://www.innerrewards.com/widgets/xml/localguide/new-york

Internally, my SWF (attempts to) retrieves xml information from an
outside source. I believe I understand the error but haven't been able
to fix it. The gadget, which Google now hosts from gmodules.com, is
trying access data from another domain. Which makes me assume a cross
domain issue. From within my SWF I tried adding both of these lines:
        Security.allowDomain("www.innerrewards.com");
        Security.allowInsecureDomain("www.innerrewards.com");
Which didn't work. I also tried creating a crossdomain.xml policy
file, as specified here:
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=00001950.html
And pre-loading it with this call:
        Security.loadPolicyFile("www.innerrewards.com/globals/widget/
crossdomain.xml");
Which hasn't seemed to work either.

Has anybody run across an issue like this? Any ideas, thoughts,
comments....

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to