# News Ticker XML "undefined"

**URL:** <https://forum.kirupa.com/t/news-ticker-xml-undefined/198564>\
**Category:** flash\
**Created:** [August 26, 2006, 4:08am UTC](https://forum.kirupa.com/t/news-ticker-xml-undefined/198564 "2006-08-26T04:08:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pi32](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@Pi32](https://forum.kirupa.com/u/Pi32)\
**Post date:** [August 26, 2006, 4:08am UTC](https://forum.kirupa.com/t/news-ticker-xml-undefined/198564/1 "2006-08-26T04:08:05Z")

</div>

I am trying to make my own news ticker from the News Ticker tutorial. When I export the .swf file onto my website, I keep on getting an “undefined” error. I have my own .xml file placed in the same folder as the Flash file is. Here is the code I’m using below:

xmlData = new XML();  
xmlData.ignoreWhite = true;  
xmlData.onLoad = loadXML;  
xmlData.load(“news.xml”);

Can someone please explain to me why this is happening?
