I believe that is a player "idiosyncracy".  You'll just have to live
with it and workaround it.  If you are using SWFLoader with relative
paths, I think you can set SystemManagerGlobals.bootstrapLoaderInfoURL
to the original url as a workaround.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Justin DeVuyst
Sent: Wednesday, February 13, 2008 1:44 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Odd issue when using the framework swf as
an RSL

 

Copied from

http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhel
p.htm?context=LiveDocs_Book_Parts&file=compilers_123_24.html
<http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhe
lp.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
<mailto:flexcoders%40yahoogroups.com> , "Justin DeVuyst" <[EMAIL PROTECTED]>
> 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
<mailto:flexcoders%40yahoogroups.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
>> >>
>> >
>> >
>> >
>>
>
>
>

 

Reply via email to