From 9437211e40cb01876e4571090d4d368c014e3375 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 26 Oct 2006 21:29:13 +0000 Subject: [PATCH] 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 --- src/as/com/threerings/util/MediaContainer.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/as/com/threerings/util/MediaContainer.as b/src/as/com/threerings/util/MediaContainer.as index d2707bffc..195439796 100644 --- a/src/as/com/threerings/util/MediaContainer.as +++ b/src/as/com/threerings/util/MediaContainer.as @@ -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); } /**