Hello, thanks in advance..
I have a question about a TypeError: Error #1034: Type Coercion failed: error. I'm loading a SWF into my application into a child domain of the parent SWF. I thought this was supposed to allow the 2 SWF's to share the class definitions?
var myContext:LoaderContext = new LoaderContext( false, new ApplicationDomain(ApplicationDomain.currentDomain));
myLoader.load( myRequest, myContext );
I'm fine as long as I don't create the child domain, or what I think is the child domain. It's obviously the same class definition just with the "@23dr3" after it. I can load correctly if I set the context to the current domain or don't specify it at all.
Is there a reason why this wouldn't be using the same class definitions? Also I have 2 instances of this class so would it hurt to load each of these into its own child domain application, or do they need to be part of the same domain in order to share their classes as well.
Can someone better define the rules for sharing things across application domains?