I know there is a lot of content related to this on the forum but I couldn't find answer to my questions...
I use bootstrap loader for my application. It was introduced to get rid of issues like :
TypeError: Error #1034: Type Coercion failed: cannot convert Object@eda8ba1 to mx.messaging.messages.ErrorMessage.
I also use loadForCompatibility=true in SWFLoader. This configuration was working fine for some time. However recent changes in application made this configuration not working any more.
Here comes my 2 questions:
parent application : http://domain.com/Main.swf
sub application : http//domain.com/sub/SubApplication.swf.
I want to load SubApplication from Main as a sandboxed application. I already experienced with trustContent and LoaderContext but they don't seem to work as I expect it to work. That is I cannot do something like context.securityDomain = new SecurityDomain(). Since both applications are on the same web domain by default they are loaded to same security domain.
thanks for the answers.
2. You have to have different domain names. They can be physically the same
server, but you need to resolve two different domains to the that server.
You can use the IP address and the DNS friendly name if you have a fixed IP
and won't have more than one server.