Re: Loading a module from a module

2018-08-09 Thread Olaf Krueger
Hi Alex, Forgot: I will still read a bit more about the ApplicationDomains, there are probably other ways to avoid such conflicts... Olaf -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Loading a module from a module

2018-08-09 Thread Olaf Krueger
Hi, I found that I accidentally used the same namespace for (not shared) actors of both modules. E.g. both modules implement its own IViewApplication interface but I guess because of the same namespace and same interface name [1] this results in a conflict. So I just added the module name to the na

Re: Loading a module from a module

2018-08-09 Thread Olaf Krueger
>What kinds of problems are you running into? The module which fails seems to be loaded successfully (throws ready event) but it throws an error like "Could not create module 'MyModule'". >You may need to learn about child ApplicationDomains I'll take a look at this! However, good to know tha

Re: Loading a module from a module

2018-08-09 Thread Olaf Krueger
Hi Carlos, >you can communicate with the parent module so that module perform the load. Yes, this is something I also thought about, but I hope this is not needed ;-) Thanks! Olaf -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Loading a module from a module

2018-08-09 Thread Carlos Rovira
Hi Olaf, I don't have the module used fresh in my mind, but I can tell you that should work. If you don't get it working you can communicate with the parent module so that module perform the load. Sorry, to not be of much help at this time, but at least I can tell you that what you want to do shou

Re: Loading a module from a module

2018-08-09 Thread Alex Harui
Modules loading modules works in general. You may need to learn about child ApplicationDomains. What kinds of problems are you running into? -Alex On 8/9/18, 11:51 AM, "Olaf Krueger" wrote: Hi, I'm trying to load a module from a module which itself is already loaded by a shell a

Loading a module from a module

2018-08-09 Thread Olaf Krueger
Hi, I'm trying to load a module from a module which itself is already loaded by a shell app. But that does not work for me. What I found is that the module can only be loaded by the "parent" module if the shell also loads it. I am not so familiar with modules, so before diving deeper into this stu