We hit some issues when trying to keep ApplicationDomains the same for child swfs. Setting
LoaderMax.defaultContext = new LoaderContext(true, ApplicationDomain.currentDomain);
didn't seem to to anything. Turns out that DisplayObjectLoader only uses defaultContext if
_isLocal == false
i.e
} else if (_context == null && !_isLocal) {
_context = (LoaderMax.defaultContext != null) ? LoaderMax.defaultContext : new LoaderContext(true, new ApplicationDomain(ApplicationDomain.currentDomain), SecurityDomain.currentDomain);
}
This is causing us problems for local testing. It can be solved by passing in a context to each LoadItem but what do you think about changing LoaderMax.defaultContext to work irrespective of _isLocal? (or ability to override it?) Paddy