I had a problem similar to this. I issolated the code that
was sometimes causing the violation. Then, I inserted a button
which would appear if the code did not launch. The user would then
have to click the button to start the code which would always
bypass the security sandbox. Not an automatic fix, but a fix until
you could possibly find a better solution.
I really can't make any sense of it. Even when the error
appears. it still
loads in the image.
But it gets worse! When I load this compiled swf into another
swf file, the
image doesn't load at all, it just gives the following error
*** Security Sandbox Violation ***
Connection to file:///C|/development/flash%20source%20laptop/
halted - not
http://server1/involve/content/my_new.swf -- Remote SWFs may not access local files.