I'm trying to read an xml file via HTTPService in my flex app.
It works fine on my local machine, but when I deploy it to a server (a different one from where the xml file is), it gives me a security error.
So I've read that crossdomain.xml is necessary to get around this problem, but where does this file need to go? On the server with the xml file I'm trying to read or on the server running my flex app which is trying to read the xml?
And as far as the crossdomain file, if I have 2 servers (xml.com & myflexapp.com) what does the crossdomain file look like?
On the server you are reading from. It is a gatekeeper. You would never
let enemy servers decide whether they could have permission to your files.