On Tue, Jan 6, 2009 at 2:24 AM, rockorgames <[email protected]> wrote:
> i have a zip search component.. but only a few modules uses it.. > should i copy the code from the zip component to those modules ? the > problem is that i would have to change the code in all modules if i > needed to change something in the zip process You could consider putting the zip component into an RSL. Before a module that needs the component is loaded, you load the RSL for the component in the main application (so it's available for the module later). An RSL is basically a SWF that contains a bunch of classes. You can load the SWF when you need one of the classes. So a component that is shared between multiple modules could be part of an RSL. (For what it's worth, the Flex framework is also available as an RSL.) Manish

