The SWS file definitely needs to be available locally at compile time,
as well as the sources/swcs that it requests.  Basically, its a bad idea
to try to compile in resources from http.  The RSL attribute accepts
relative or absolute LOCAL file system paths, not URLs.  Basically, the
SWS file is just an automagic way to build a SWC without having to use
compc.  The compiler still needs it local, just like it would need a SWC
local.  The difference between lib= and rsl= is that in the former case,
the generated SWC is just added to the library list, in the latter case,
it is added but all the symbols are recorded as external, and the URL is
baked in as something to be grabbed at the beginning of the application
startup.

The tricky thing is that the RSL needs to be able to be found at compile
time AND runtime.  The compiler can guess most of the time, but with a
complicated deployment, you may well need to add extra info to the SWS
file to hint what URL should be compiled in.

-rg


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Joost Nuijten
Sent: Friday, July 22, 2005 8:20 AM
To: [email protected]
Subject: [flexcoders] rsl-property (Shared Librairies)

Hi,
 
According to the documentatation the rsl-property should support
absolute pathnames, eg. rs=http://localhost:8100/shared.sws
<http://localhost:8100/shared.sws> . But it doesn't. At compiletime the
error 'Unable to resolve library location' occurs.
 
The problem is that the Flash embedcode is located on a different domain
than the Flexserver. The location of the HTML is
http://domain1/page.html. This pages embeds an MXML from another domain:
http://domain2/news.mxml.swf.
 
Anybody?
 
Thhx
-- Joost
 
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 



________________________________

YAHOO! GROUPS LINKS 


        
*        Visit your group "flexcoders
<http://groups.yahoo.com/group/flexcoders> " on the web.
          
*        To unsubscribe from this group, send an email to:
         [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
          
*        Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


________________________________



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to