I think there is a recent bug on this issue.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jamie S
Sent: Thursday, July 03, 2008 8:23 AM
To: [email protected]
Subject: [flexcoders] Security and ExternalInterface

 

I'm having a problem with getting Security Sandbox Violations while
trying to allow a JavaScript file ( specifically the history.js file
used for deep linking ) to call in to my swf when the swf is loaded in
from a different domain. Even though I used Security.allowDomain("*")
in my swf, I still get a security violation any time the JavaScript
tries to make contact with the swf. The interesting thing is that the
reverse seems to be ok, the swf can call the JavaScript functions
without a problem.

All the documentation I've read around Security.allowDomain allways
refers to allowing an external swf access but is it suppose to be the
same for JavaScript? Is there an extra limitation when using
JavaScript and ExternalInterface that prevents JavaScript on another
domain from accessing the swf?

Jamie

 

Reply via email to