- Home /
Flash Export - Security sandbox violation
Hi,
I just wanted to report something regarding the Flash Export in Unity 4. I got an application, that loads this exported unity.swf file using the UnityContentLoader Class in the UnityShared.swc library.
In version 3.5 everything worked fine, in version 4 (seems to have an newer version of the swc-library) I keep getting a "Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property" error, which I can´t get rid of. If I switch to the "old" swc-library, everything runs smoothly.
I´m talking about local execution here, which is the reason why I get this error. I guess it will be necessary to make the setting of this property settable in the code, to make both loading possibilites work correctly (local and http)
MMeX