We must load content into our SecurityDomain if we want its

ApplicationDomain to be a child of ours.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4437 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-10-26 21:29:13 +00:00
parent a9d5ca01e2
commit 9437211e40
+2 -2
View File
@@ -320,9 +320,9 @@ public class MediaContainer extends Box
protected function getContext (url :String) :LoaderContext
{
// We allow content to share but not overwrite our classes
return new LoaderContext(false,
return new LoaderContext(true,
new ApplicationDomain(ApplicationDomain.currentDomain),
null);
SecurityDomain.currentDomain);
}
/**