One way to think of the difference is that RSLs define classes, and
modules define interfaces.  An RSL is loaded by Flex before app startup
because classes you might need such as UIComponent may be in the RSL,
and you must link to them as classes and not interfaces since they are
base classes or other dependent classes
 
Now you can take a module and load it into the main app domain (which is
described in the shared code example in my slides), but then it has lost
some of its module-ness because it probably can't be unloaded.  I
actually think we should formalize this as it should be more of a
late-loaded RSL than a specially loaded module.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Bjorn Schultheiss
Sent: Tuesday, April 03, 2007 6:35 PM
To: [email protected]
Subject: Re: [flexcoders] Modules vs RSLs - Are they mutually exclusive?



If it is loaded into the shell each module already has access to it. 


On 04/04/2007, at 11:24 AM, Collin Peters wrote:


        Yes, but could an RSL not also be a swf used across multiple
modules?
        


 

Reply via email to