Loading RSLs from Modules
For a while I've been wanting to be able to load an RSL from a Module. The reason for this is that some modules require some RSL but that RSL is not needed in the MainApp.
I've googled alot on this subject and can't find any information that will show that this is possible, but now reading up on the enhancements of the Hero Sdk (http://opensource.adobe.com/wiki/display/flexsdk/RSL+Enhancements) it seems to be possible.
To be specific here is a quote from the info
3. Going into Flex 4 we only expected sub-applications and modules to re-use the RSLs loaded by the main application. But now we see modules that are being used to load custom RSLs. Expecting the main application to load all of the RSLs won't work anymore. We are also seeing cases where modules want to be independent of the application and load all the RSLs it needs without regard for which RSLs the application is loading. Today this can result in multiple loads of the same RSL.
From reading that, it is possible. Can anyone please point me in the direction on to how to acomplish that. How to load an RSL that a module needs when loading the module?
Thanks,
Art
