# It works in the test, why not the real thing?

**URL:** <https://forum.kirupa.com/t/it-works-in-the-test-why-not-the-real-thing/78638>\
**Category:** flash\
**Created:** [February 6, 2005, 8:03pm UTC](https://forum.kirupa.com/t/it-works-in-the-test-why-not-the-real-thing/78638 "2005-02-06T20:03:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben\_is\_sparky](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ben_is_sparky/32/664_2.png) [@ben\_is\_sparky](https://forum.kirupa.com/u/ben_is_sparky)\
**Post date:** [February 6, 2005, 8:03pm UTC](https://forum.kirupa.com/t/it-works-in-the-test-why-not-the-real-thing/78638/1 "2005-02-06T20:03:52Z")

</div>

Ok, I admit it, while Kirupa was down today, I went somewhere else to try and find some flash help. I’m trying to make a news feed type thing, like you can find on almost any site, where flash takes the information from an xml file. I used [THIS](http://www.communitymx.com/content/article.cfm?cid=D1CB3) tutorial, and it worked fine. I then moved the code into the site I was building and changed it so that the tags in the xml file were more relevant to what I was doing. Of course, it didn’t work and after checking the actionscript and the xml file, i couldn’t find any problems. So, I copied the code from the test, exactly as it was, re-named my textbox to txt (as in the tutorial and the test that I did) and copied the xml file that i had used for testing to the same location as the flash file. It still doesn’t work and I can’t work out why. However, instead of showing nothing, it shows the following:

> \<font size=‘+2’ color=‘#3366cc’\>\<a href=‘[http://www.communitymx.com/](http://www.communitymx.com/)’\>This is Headline 1\</a\>\</font\>\<br\>This is where you can add content that will appear under the first headline\<br\>\<br\>\<font size=‘+2’ color=‘#3366cc’\>\<a href=‘[http://www.flash-remoting.com/](http://www.flash-remoting.com/)’\>This is Headline 2\</a\>\</font\>\<br\>This is content that can appear under the second headline.\<br\>\<br\>\<font size=‘+2’ color=‘#3366cc’\>\<a href=‘[http://www.macromedia.com/](http://www.macromedia.com/)’\>This is Headline 3\</a\>\</font\>\<br\>This is content that can appear under the third headline.\<br\>\<br\>\<font size=‘+2’ color=‘#3366cc’\>\<a href=‘[http://www.macromedia.com/](http://www.macromedia.com/)’\>This is Headline 4\</a\>\</font\>\<br\>This is content that can appear under the whatever headline.\<br\>\<br\>\<font size=‘+2’ color=‘#3366cc’\>\<a href=‘[http://www.macromedia.com/](http://www.macromedia.com/)’\>This is Headline 5\</a\>\</font\>\<br\>This is content that can appear under the whatever headline. fdhasdzfhadfhgah\<br\>\<br\>

I thought it might be because I had the code and textbox in a movieclip, but I couldn’t see why this would happen and when I put the stuff from the test file into a movieclip, it still workeed fine.

Can anyone shed any light on this problem? Am I doing something stupid do you think?
