I have a Flex applicaiton that imports multiple library files (more than 20) as RSLs. This makes my app's loading time realy slow as all of the files are downloaded sequentially.
So I was wondering if there's any way to make so the flash player downloads the RSLs in parallel?
Or the other option is if I could combine the SWC files of all imported libraries into one big SWC file and import only the latter in my app so that only one file should be downloaded. I'm not sure if that's possible though?
Any other ideas are mostly welcome.
20 RSLs is a lot of RSLs to download even if you are loading them in parallel. I'd recommend you look at breaking your application in to modules. With this approach, the main application can load the RSLs it needs and the modules can load the RSLs they need. It can be done in a way the allows all the RSLs to be shared by the main application and modules. More information is available in this spec: http://opensource.adobe.com/wiki/display/flexsdk/RSLSharingAmong+Modules