Matt:  Thanks so much for the information.

I was able to get the app to run in the standalone version 
using "File-Open" and referencing localhost.  I couldn't get it to 
work using a crossdomain file.

However, your post got me to think hard about what I was actually 
doing.  Obviously there is a big difference between the "local file 
system" and "localhost".  My example was trying to mix the two which 
is not a good idea even if it does work.  (If I'm already running 
the main App from the local file system, then why hassle with 
loading an RSL from localhost?)  The solution is to either run both 
from the local file system or run both from localhost.

I had been struggling to understand the "url" attribute in the SWS 
definition which is why my app was a bit convoluted initially.

My solution turned out to be the following simple change to 
myRSL.sws:

     <library url="myRSL.swf">

Thanks again for your help.  I can't tell you how many times I've 
searched FlexCoders and found answers to my problems from your posts 
and the posts of the other experts.  



--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> 
wrote:
> You might need a crossdomain.xml file available since the 
standalone is
> not considered to be running from the same location as localhost 
in all
> likelihood.
> 
>  
> 
> What happens if you open up the standalone player, then use File -
> Open
> and hit http://localhost/pathtofile?  If it works I'm pretty sure 
the
> crossdomain.xml is gonna be it.
> 
>  
> 
> Matt
> 
>  
> 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h0pb4ll/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124895577/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

--
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