PDA

View Full Version : loading an xml url


padone
05-26-2005, 10:13 AM
Hey I need to load in text from an xml link that I have been given.
Is this a simple task and does anyone know how to do it.

I need it to be like this

http://www.actionscript.org/showMovie.php?id=950

but need it to pull from here

http://syndication.digitalspy.co.uk/xmlcache/dseznews.xml

beanSoldier
06-23-2005, 11:16 AM
a little feed reader huh?

you need to use the xml object in flash.


var file_xml = new XML();
file_xml.ignoreWhite = true;
file_xml.onLoad = function(success)
{
if(success)
{
//code to parse goes here
}
};
file_xml.load("http://syndication.digitalspy.co.uk...he/dseznews.xml");