# I get 'undefined' output for my flash as2 rss feed once LIVE in browser

**URL:** <https://forum.kirupa.com/t/i-get-undefined-output-for-my-flash-as2-rss-feed-once-live-in-browser/331776>\
**Category:** flash\
**Created:** [October 17, 2013, 5:55pm UTC](https://forum.kirupa.com/t/i-get-undefined-output-for-my-flash-as2-rss-feed-once-live-in-browser/331776 "2013-10-17T17:55:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgp271](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mgp271](https://forum.kirupa.com/u/mgp271)\
**Post date:** [October 17, 2013, 5:55pm UTC](https://forum.kirupa.com/t/i-get-undefined-output-for-my-flash-as2-rss-feed-once-live-in-browser/331776/1 "2013-10-17T17:55:28Z")

</div>

[TABLE]  
[TR]  
[TD=“class: votecell”][/TD]  
[TD=“class: postcell”] I get an ‘undefined’ output for my flash as2 rss feed once it’s LIVE on the browser. It works fine when I test it locally, but once it goes LIVE it displays ‘undefined’.

Now I did research this and found out that it could be a security measure via the browser or a cross-domain issue. I also tried mirroring this rss feed in google feedburner. Although it only works on an opera browser and old Internet Explorter 8. Any suggestions would be great. Please Help!

Below is the code.

[/TD]  
[/TR]  
[/TABLE]

stop();  
//xml\_holder.font = “Tahoma”;  
xml\_holder.embedFonts = true;  
xmlLoad = new XML();  
xmlLoad.load(“[http://feeds.feedburner.com/MonthlyHoroscopeByIndastrocom](http://feeds.feedburner.com/MonthlyHoroscopeByIndastrocom)”);  
xmlLoad.ignoreWhite = true;  
//xml\_holder.html = true;  
xmlLoad.onLoad = function(success){  
//if successful  
if(success && xmlLoad.status == 0){  
//reset the text  
xml\_text="";  
//list of items  
var xmlItems:XML = xmlLoad.firstChild.firstChild;  
var itemlink:String,itemtitle:String,itemdesc:String = ‘’;  
for (var m = 0; m\<xmlItems.childNodes.length; m++) {  
//grab each item  
if (xmlItems.childNodes[m].nodeName == “item”) {  
var article:Array = xmlItems.childNodes[m].childNodes  
itemlink = itemtitle = itemdesc = ‘’;  
for (var n:Number = 0; n\<article.length; n++) {  
switch (article[n].nodeName) {  
case “link”:  
itemlink=article[n].firstChild.toString();  
break;  
case “title”:  
itemtitle=article[n].firstChild.toString();  
break;  
case “description”:  
itemdesc=article[n].firstChild.nodeValue;  
break;  
}  
}  
xml\_text+= itemdesc;  
}  
}  
}  
//set the text  
xml\_holder.htmlText = xml\_text;  
}
