I have an application that uses RSL's. I also have a couple of CSS's files containing embeded images etc. that are set to compile to swf and are loaded at run time.
When I run the application it loads all the RSL's from the same folder as the application as the root gets set automatically to the main swf. Then the in the initialization of the application I call StyleManager.loadStyleDeclarations to load in the compiled css files. My problems start here as the CSS swf completes loading, for some reason they cause all RSL's to be loaded again but this time without root being set so they are effectivwely relatve to root on the server rather than relative to the application. Therefore to get it all to work I need all the RSL's in two places! Secondly the second loading of the RSL's is unecessary as they are already loaded and in fact just after loading for the second time they all get unloaded again, it also takes a significant amount of time so you sit waiting to be able to do something whilst all this loading/unloading is taking place. It also seems that loading modules causes the RSLs to get reloaded as well. So what am I doing wrong are are RSLs just all messed up. tks

