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
I cannot get a simple Flex application to run in the standalone
Flash Player when an RSL is used.
This App (with RSL) runs SUCCESSFULLY when I load
it in a browser
from my "localhost" web server.
Its only FAILING in the SA Flash
Player. If I compile the App without the
RSL, it runs correctly in
the SA Flash Player.
I am compiling the App and RSL using the Flex
command-line
compilers. I am not using the runtime Flex
server.
Here's what happens when I run the App in the SA
Flash Player:
1) The Library preloader displays "Library 1
of 1".
2) The Application preloader displays
"Initializing". Progress bar
goes to 100% but preloader does not disappear.
3) A very small black square with a green border
appears in the
upper left corner of the Flash Player.
4) If I click the small black square, the border
color changes to
pink. The cursor changes to a hand symbol.
-----------
myApp.mxml
-----------
<?xml version="1.0"
encoding="iso-8859-1"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
width="100%" height="100%"
rsl="myRSL.sws">
<mx:Panel title="RSL Issue Test"
width="100%" height="100%" >
<mx:Button
label="App Has Loaded!" />
</mx:Panel>
</mx:Application>
-----------
myRSL.sws
-----------
<library url=""
href="http://localhost/myApp/myRSL.swf">http://localhost/myApp/myRSL.swf">
<component name="Application"
uri="http://www.macromedia.com/2003/mxml"
/>
<component name="foo"
uri="*" />
</library>
All the files are located in the same
folder.
Again: This App runs successfully in the
browser!
Any comments or advice will be most
appreciated.
Roger G.: PLEASE HELP!
Thanks!!!!
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- RE: [flexcoders] Flex App with RSL fails in Standalone ... Matt Chotin
-