Dec 22nd, 2008, 12:17 PM
Modules and Class not found
I am digging into Spring ActionScript now but running into troubles w/ my application. I have split my app up using Flex Modules but when I try to get an object I get a "class not found error" from the ClassUtils.forName() ln 87 which is this line:
applicationDomain.getDefinition(name) as Class;
My app is set up as follows:
1. Main app that contains login is a swf. It loads up Module A.
2. Module A then loads Module(s) B-Z depending on which navigation the user selects.
Currently I have the applicationContext.xml loading and parsing in Module B to configure the View and Services.
I read some threads on loading and such, I was thinking that if the module loads that all the classes there in would be loaded in the ApplicationDomain. Am I seeing a no class found error b/c the class truly is not found? Maybe since it is a module, it is getting filtered out by the link report?