OK, I have finally figured out what has to be done to achieve multiple
RSLs. Maybe this post will be useful for someone else.

- it is worthwhile to check if you use framework.swc,
datavisualisation.swc & rpc.swc and if yes make them external. The
rest of standard libraries are too small to worry about them. 

- if you use datavisualisation.swc it should be below framework.swc

- all your libraries should use external linking to your other libraries 

-only in main application you have to select RSL linking type for
selected system libraries (framework, rpc, dataviz) and for all your
libraries.

Common sense should be applied to the approach - there is no need to
convert piece of code to RSL if it is used only in a single place.

After spending some time with my project I've managed to decrease
total loading volume from 7.9 Mb to 2.7Mb (~3 times less). Now I've
got now 10 libraries and a number of SWFs which I am loading into the
main  one. The result totally worth the efforts.

Cheers,
Dmitri. 



--- In flexcoders@yahoogroups.com, "Dmitri Girski" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I've got the following structure of an application
> 
> - base_core lib (AS project)
> 
> - base_ui lib (depends on base_core)
> 
> then
> 
> -component1 lib (depends on base_core, base_ui)
> 
> -component2 lib (depends on base_core, base_ui)
> etc
> 
> and then finally 
> main project with the following applications:
> -app1 (uses component1)
> -app2 (uses component2)
> etc
> 
> Which linker settings should be used in each project to achieve proper
> RSL  linking?
> 
> Thanks in advance!
> 
> Dmitri.
>


Reply via email to