Page 1 of 1

quick question about config.xml load

Posted: 07 Dec 2010, 23:45
by mistermind
Hey there,
I've been trying to find an answer by searching, but couldn't get one.
How am I suppose to load config.xml from cross domains (the client one, using sfs.loadConfig)?
Adding a http address to it doesn't work

Code: Select all

sfs.loadConfig("http://www.mywebsite/config.xml")


I mean, I understand how to load a policy file:

Code: Select all

Security.loadPolicyFile("xmlsocket://216.55.137.18:9339");

But after that, how do I load the config.xml from another domain on AS3?

I ask that cause I soon wanna publish the game on other websites and don't want the swf to depend on a config.xml file in the same folder.

Posted: 07 Dec 2010, 23:57
by mistermind
nvm my question (again lol)
sfs.loadConfig("http://www.mywebsite/config.xml") works just fine ;)