What version of Flex? What parameters are used to load the module?
Flex 4.5, here is the code that loads the module:
IModuleInfo.load(null, null, null, moduleFactory);
Is a component from the module being parented outside the module? Or instantiated dynamically from code in the app and not using factory.create?
The component is instantiated via MXML, inside the module MXML.
Have you verified that the style information is in the module SWF?
Can you post a simple test case?
Alex, thanks for looking into this. We are working with the customer to create a test case, but it does appear that it is working as designed. Since the last paramter to .load above points to the moduleFactory of the top level application, the style manager being used to lookup the styles also is the top level applications style manager. And since the stylesheet is not loaded in the top level application, we run into this error. Since we are not able to modify the top level apps code, we're going to try to runtime load the stylesheet into the top level app and see how that goes.
Appreciate your help.