Hi Everyone, I thought this problem may be due to some strange path issue; however, the path is not relative in this case.
I have an AS3 based rss aggregator. It works in flash when I test the movie clip; however, when I place this on the server it no longer works...
I used "taLog.htmlText = "Start";" and similar strings to test where it stops. I suppose that the rssLoaded event never gets called, which means the feed isn't getting loaded, which is strange since it works fine else where....
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest = new URLRequest("http://www.rssfeedblahblah.com");
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
rssLoader.load(rssURL);
taLog.htmlText = "Start";
var rssXML:XML = new XML();
rssXML.ignoreWhitespace = true;
function rssLoaded(evt:Event):void{
taLog.htmlText = "Loaded";
rssXML=XML(rssLoader.data);
taLog.htmlText = rssXML;
for(var item:String in rssXML.channel.item) {
liLog.addItem({label:rssXML.channel.item[item].title})
}
}
function selectLog(evt:Event):void {
taLog.htmlText = rssXML.channel.item[ evt.target.selectedIndex ].description;
}
liLog.addEventListener(Event.CHANGE, selectLog);