My suggestion was to modify the value for -runtime-shared-libraries not the value for external-library-path.
>From the link you sent: runtime-shared-libraries url [...] Specifies a list of run-time shared libraries (RSLs) to use for this application. RSLs are dynamically-linked at run time. You specify the location of the SWF file relative to the deployment location of the application. For example, if you store a file named library.swf file in the web_root/libraries directory on the web server, and the application in the web root, you specify libraries/library.swf. Thanks, Gaurav --- In flexcoders@yahoogroups.com, "Justin DeVuyst" <[EMAIL PROTECTED]> wrote: > > Copied from > > http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=compilers_123_24.html > > <snip> > external-library-path path-element [...] > > Specifies a list of SWC files or directories to exclude from linking > when compiling a SWF file. This option provides compile-time link > checking for external components that are dynamically linked. > > For more information about dynamic linking, see About linking. > > You can use the += operator to append the new SWC file to the list of > external libraries. > </snip> > > So, given that, I don't think that's the issue. Any other ideas? > > Thanks, > jdv > > Gaurav Jain wrote: > > I think value for -runtime-shared-libraries+= should be a url not an > > absolute path. > > > > Thanks, > > Gaurav > > > > > > --- In flexcoders@yahoogroups.com, "Justin DeVuyst" <justin@> > > wrote: > >> > >> Thanks for responding to my query Gaurav. > >> > >> I compile for it like so: > >> > >> mxmlc -external-library-path+=/path/flex_swc > >> -external-library-path+=/path/framework_swc > >> -runtime-shared-libraries+=./tests/6/flex/flex.swf > >> -runtime-shared-libraries+=./tests/6/framework/framework.swf > >> -file-specs loader.mxml -output loader.swf > >> > >> Loader is the root swf that loads everything else based on a custom > >> xml config. This all seems to work when I load framework.swf and > >> flex.swf manually; like we load our custom rsls. But to reduce > >> the size of loader.swf itself I would like to be able to have them > >> loaded by loader's preloader. > >> > >> In addition, the app swfs and any custom rsl swfs are compiled > >> using the same -external-library-path args. > >> > >> Thanks, > >> jdv > >> > >> Gaurav Jain wrote: > >> > Hi Justin, > >> > > >> > Can you please show how you are specifying the framework.swf rsl > >> to > >> > the compiler? > >> > > >> > Thanks, > >> > Gaurav > >> > > >> > --- In flexcoders@yahoogroups.com, "Justin DeVuyst" <justin@> > >> > wrote: > >> >> > >> >> Hello All, > >> >> > >> >> I would like to load a lot of apps on a single page. To help > >> speed > >> >> things up I want to load the framework swf as an RSL. Problem is > >> >> when that swf loads the "current directory" or "base URL" changes > >> to > >> >> where the framwork swf is. I don't want that to happen. Any > >> ideas > >> >> on > >> >> this? > >> >> > >> >> -jdv > >> >> > >> > > >> > > >> > > >> > > > > > > >