Parsing xml in a reomte ip

Hi friend,

I want to send a request to particular ip address which automatically generate xml file as a response. Initially i am working with local xml file and my action script code can produce the output by parsing the xml file which locates locally in my machine.

here is the exmaple code what i am do for local machine:

[FONT=Courier New]var xmlString:URLRequest = new URLRequest(“data.xml”);
var xmlLoader:URLLoader = new URLLoader(xmlString);
xmlLoader.addEventListener(“complete”, init);[/FONT][FONT=Courier New]function init(event:Event):void{
var xDoc:XMLDocument = new XMLDocument();
xDoc.ignoreWhite = true;
var animalsXML:XML = XML(;

but in online i replace the “data.xml” by “myip/xml_files/data.xml”. but the contentnts are not displayed. Please help me friend.

If you want to suggest any tutorials/links are all welcome