Hi all,
I’m seeing tons of these messages appear (sometimes) upon loading an external image:
*** Security Sandbox Violation ***
SecurityDomain ‘http://www.blahblahblah.com/file.jpg’ tried to access incompatible context "
Question 1:
----------- How does one track down what is causing the error? I don’t see anything in the documentation about reporting on which action triggered the problem, and throwing Traces in hasn’t led me to it yet.
Some details:
– They seem to be inconsistent, they show up sometimes for a file, and sometimes they don’t.
– It seems like when they do show up, they start showing up in the output log repeatedly as a result of my just hovering anywhere over the Flash preview.
– I’m not sure about when I do it in the browser because I don’t see how I can spit that output log to something that will actually show up in the flash movie when it’s published and running in a browser.
– I’ve tried using System.allowInsecureDomain with a , but that doesn’t seem to do it. Maybe I need to ‘attached’ it to something? I’m puting this in the root: System.security.allowDomain(""); System.security.allowInsecureDomain("");. Do I need to do something like loader_mc.System.security.allow…("") or something? I’ve tried that with no luck, but maybe some variant that I don’t know about yet?
Question 2:
----------- Anyone know a way to spit this output log to some text field that can be visible in the Flash movie itself?
Thanks in advance for any pointers,
:)b