is it normal that I can't use any external resource holding a valid avatar that is loaded with an application domain different with the current one?
I'm forced to load the avatar library using this code:
Code: Select all
var loaderContext:LoaderContext = new LoaderContext();
loaderContext.applicationDomain = ApplicationDomain.currentDomain;
_loader.load(request, loaderContext);TypeError: Error #2007: Il valore del parametro child deve essere diverso da null.
at flash.display::DisplayObjectContainer/addChild()
at com.smartfoxserver.openspace.avatar::Avatar()
at com.smartfoxserver.openspace.avatar::AvatarsManager/createAvatar()
Now, what bother me is the massive memory leak I have on openspace project.
I can't find any way to let os release the data it allocates, not even using os.clear and all the other expedients I'm aware of.
Can you give me some hints?