This commit is contained in:
2013-12-27 17:17:58 +04:00
parent ae9fad2884
commit acb5fe989c

View File

@@ -29,7 +29,8 @@ class BaseMediaLoader<T> extends BaseLoader<T> {
private function buildLoaderContext():LoaderContext { private function buildLoaderContext():LoaderContext {
return switch (Security.sandboxType) { return switch (Security.sandboxType) {
case Security.REMOTE: case Security.REMOTE:
new LoaderContext(true, ApplicationDomain.currentDomain, SecurityDomain.currentDomain); null;
//new LoaderContext(true, ApplicationDomain.currentDomain, SecurityDomain.currentDomain);
case Security.APPLICATION: case Security.APPLICATION:
var loaderContext:LoaderContext = new LoaderContext(); var loaderContext:LoaderContext = new LoaderContext();
loaderContext.allowLoadBytesCodeExecution = true; loaderContext.allowLoadBytesCodeExecution = true;