Does anyone know how to load a sub-application as a "sandboxed" application 
when on the same domain?

i.e.:

http://www.xyz.com/HostApplication.swf

loads

http://www.xyz.com/SubApplication.swf

My simple configuration uses a SWFLoader class as such:

<mx:SWFLoader id="swfLoader"
     trustContent="false"
     loadForCompatibility="true"/>

After running, the loaded sub-application attempts a remote object service call 
and the UI displays an error:

TypeError: Error #1034: Type Coercion failed: cannot convert obj...@24a83949 to 
mx.messaging.messages.ErrorMessage.

This configuration works fine if the sub-application is loaded from a different 
domain.  Is there a way to load sub-applications, that are able to remote 
successfully, from the SAME domain?



Reply via email to