# \[FMX04\] - Tracing security warning?

**URL:** <https://forum.kirupa.com/t/fmx04-tracing-security-warning/220487>\
**Category:** flash\
**Created:** [March 26, 2007, 8:21pm UTC](https://forum.kirupa.com/t/fmx04-tracing-security-warning/220487 "2007-03-26T20:21:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bentman](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bentman](https://forum.kirupa.com/u/bentman)\
**Post date:** [March 26, 2007, 8:21pm UTC](https://forum.kirupa.com/t/fmx04-tracing-security-warning/220487/1 "2007-03-26T20:21:57Z")

</div>

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](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
