I'm trying to make an actionscript program that will be able to read an RSS feed and find the title and description of the item. I'm able to load the XML into a variable, but when I try to look at the children nodes of the XML the output tells me there are none. I was able to find a very nice RSS reader explanation made in ActionScript 3, but I need to use ActionScript 2. Any help would be greatly appreciated and let me know If I'm going about this completely the wrong way.
var foo:XML = new XML();
foo.onLoad = function(success:Boolean) {
trace(foo);
}
foo.load("http://feeds.nytimes.com/nyt/rss/HomePage");
var myArr:Array = new Array();
myArr = foo.childNodes;
trace(myArr.length); //Prints 0