I added a dummy state with a dummy addchild element in the main app, and
this seems to have solved the issue.

 

Thanks.

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Monday, April 16, 2007 7:54 PM
To: [email protected]
Subject: RE: [flexcoders] Problem using RSLs in enterprise app

 

It is explained in the blog post.  The ResourceManager is loaded by the main
app and the request for resources from the module might be in the context of
the main app and not the module.

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Swann
Sent: Monday, April 16, 2007 3:27 PM
To: [email protected]
Subject: RE: [flexcoders] Problem using RSLs in enterprise app

Can you be more specific about the term shared code problem?  

Thanks.

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Monday, April 16, 2007 4:36 PM
To: [email protected]
Subject: RE: [flexcoders] Problem using RSLs in enterprise app

I believe this is a shared code problem.  Try defining a state in the main
app.

You can read up on modules, applicationdomains, etc on my blog

http://blogs. <http://blogs.adobe.com/aharui/2007/03/modules.html>
adobe.com/aharui/2007/03/modules.html

  _____  

size=2 width="100%" align=center> 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of eric_swann2000
Sent: Monday, April 16, 2007 11:27 AM
To: [email protected]
Subject: [flexcoders] Problem using RSLs in enterprise app

I'm having a problem using a combination of modules/RSLs in my 
application.

I have a project that is split into modules and RSL's. 

* There is a basic shell application.

* There are 4 common component projects which are used by all other 
projects. These are set up as components referenced as RSLs.

* There 5 projects which are interchangeable UI's and are set up as 
modules. Each of these projects is set up as a component project, and 
then there is a common modules project that references each of these 
component projects as "merge into code" references.

Basically, my shell app dynamically lazy-loads 1 module at a time, 
and unloads the previously loaded module. Both the shell app and the 
modules project reference the 4 common components as RSL's. 

Things appear to work OK, insofar as the shell attempts to load the 
module. However, as the shell is loading the module, it throws the 
following error:
"Could not find resource bundle states". 

The error appears to be related to the first "AddChild" command in 
the first <state> encountered by the runtime.

Any ideas would be helpful....Thanks!

 

Reply via email to