# Loading xml file into text field

**URL:** <https://forum.kirupa.com/t/loading-xml-file-into-text-field/318152>\
**Category:** flash\
**Created:** [January 11, 2011, 9:17pm UTC](https://forum.kirupa.com/t/loading-xml-file-into-text-field/318152 "2011-01-11T21:17:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![art\_i\_choke](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@art\_i\_choke](https://forum.kirupa.com/u/art_i_choke)\
**Post date:** [January 11, 2011, 9:17pm UTC](https://forum.kirupa.com/t/loading-xml-file-into-text-field/318152/1 "2011-01-11T21:17:17Z")

</div>

I am trying to load an xml file (just the content, not the tags) into a text field… I have tried every code I could find on the internet and nothing seems to work. If anyone would be kind enough to take a look at these files and help me out, it would be greatly appreciated. Unfortunately I can’t post links, but the files are on [4shared.com](http://4shared.com), and they are located at:

/document/wFyyh9-k/news.html  
and  
/file/2yslOVlZ/site.html

I am trying to load news.xml into the newsTxt field on frame 148. Also, how would I go about formatting the text (font, color, size, etc.)?

Thanks in advance 🙂
