Skip to main content
Participant
December 1, 2009
Question

ModuleLoader not load module

  • December 1, 2009
  • 2 replies
  • 558 views

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 has been closed for replies.

2 replies

Inspiring
December 1, 2009

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

Inspiring
December 1, 2009

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