« XPCharting Component Set Released | Main | What's happened to FlashCoders? »

November 30, 2004

FMX2004 Security Sandbox Violation

I have started to get the following message in the output panel when running a simple test application inside the FMX2004 IDE on my local machine.

SecurityDomain 'http://a1.phobos.apple.com/Features/y2004/m11/d18/h14/dj.kfpcttla.100x1
00-99.jpg' tried to access incompatible context 'file:///D|/projects/ Samples/test.swf'
*** Security Sandbox Violation ***

Everything still works as expected so it doesn't seem to stop anything from working its just a little annoying to keep seeing it.

Does anyone know what it means, why I am getting it now and most importantly how to stop it.

Comments

Are you using a swapDepths method anywhere?
I had the same problem. turned out swapDepths was the cause. Don't know why it triggered the error but it did...

i ran into the same thing too: http://www.visible-form.com/blog/000085.html

Thanks for the info.

Interesting blog entry, exactly same issue as you mentioned, thanks for the fix, (annoying though it is! lol)

See this site for more info.

http://moock.org/asdg/technotes/crossDomainPolicyFiles/

Refresh entry:) I was encounter the same problem but when I edit a text field (input), "*** Security Sandbox Violation ***
SecurityDomain '.../photo_1.jpg' tried to access incompatible context 'file:///D|/.../chorus%5F060113/messages.060113%5Fv2.swf'"

I am having this problem using setMask. however, it seems like the error is causing the mask not to act as a mask and instead just as an mc positioned over the other mc.

I create the mask_mc via createEmptyMovieClip, then I do old_mc.setMask(mask_mc); when I comment the line, the error goes away. what's the deal? my app isn't working as suspected, because the mask_mc is not acting as a mask.

Flashape, thank you for link to moock.org article. It is really useful about security issues and helped me to solve the same issue with *** Security Sandbox Violation ***.
Article is highly recommended!

second comment from 'flashape'
saved my day
he moved his post to this location
http://www.visible-form.com/blog/security-restrictions-in-the-authoring-environment/

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)