Skip to main content
January 20, 2010
Question

Load Modules into a main app sibling sub-app Domain

  • January 20, 2010
  • 1 reply
  • 754 views

Hi,

I'm developing a flex portal that integrates ui from different providers.

Is it possible to do the following?

From my main application i want to be able to load modules into a sibling application's domain.

Currently I’ve done the following.

1.  Used SwfLoader to load a sub-application into a new application domain (as a sibling of main application domain).

2.  From the main application used ModuleLoader to load modules into application domain created in step 1.  As a parameter into module loader we specified the application domain of the sub-application created in step 1.

The result is that the module loads but its application domain is set to the main application.

Any ideas?

Thanks,

This topic has been closed for replies.

1 reply

Inspiring
January 20, 2010

Modules aren't not meant to be loaded into sibling application domains. Any reason why the sub-application can't load its own modules?

-Darrell

January 22, 2010

Thank you for the reply. I will move away from trying to load Modules.