Is the path correct from the HTML page including the swf?

I'm not up to scratch on crossdomain.xml file but I thought that it had to
be in the root of the site. Can anyone confirm that?

Ade

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brent
Gore
Sent: 13 December 2005 16:07
To: [email protected]
Subject: [Flashcoders] Loading Xml from Flash over Http


I have an xml file that is loaded into a swf, playing in a browser.  My
question is about the url to the xml file.  If I specify an absolute url
("http://mydomain.com/xml/file.xml";) I have no problems but when I try
and use a relative url ("xml/file.xml") it fails to load.  The rel path
is correct.  Running the swf in any environment other than over http
works correctly with the rel url.  I've also added a crossdomain.xml
which allows any access, and it resides with the swf.

For this particular project it is crucial that the url be relative and
not absolute.  Is this a limitation in Flash, or am I missing something?
Are there any other options than using an absolute url?

Thanks for your help!

Brent

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to