Skip to main content
Participant
Dec 1, 2009 5:56 AM UTC
Question

ModuleLoader not load module

I am unable to load module through module loader if path I use is like "

http://payerplayer.livelooplab.com/documentSetting/channels/2/centerswf1.swf

but its work if use relative path like "channels/2/centerswf1.swf"  . Is it possible to load module if module.swf and moduleloader.swf both on different server both contains crossdomain.xml.  I am not able to do so. Please give me solution if anybody has done this.

  

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Inspiring
Dec 1, 2009 2:43 PM UTC

Sorry for the misinformation in the last post. A module is NOT loaded into a different sandbox, it should be loaded into the same sandbox as the main application.

What kind of problems are you running into? Are you getting an error loading the module? Is the whole module not visible or are there only certain resources that are not visible?

-Darrell

Translate
Inspiring
Dec 1, 2009 2:09 PM UTC

Modules must be loaded from the same domain as the application. Otherwise the module and the application will end up in different sandboxes which is not supported. If the swf must be served from a different domain then you will need use an application instead of a module. When using an application you can setup mutual trust with the main application by using Security.allowDomain() or you can keep the application untrusted and use the Marshall Plan to allow the application to inter-op with the main application.

-Darrell

Translate