# Loading External Text

**URL:** <https://forum.kirupa.com/t/loading-external-text/147220>\
**Category:** Uncategorized\
**Created:** [May 8, 2005, 2:00pm UTC](https://forum.kirupa.com/t/loading-external-text/147220 "2005-05-08T14:00:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trundrumbalind](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trundrumbalind/32/696_2.png) [@trundrumbalind](https://forum.kirupa.com/u/trundrumbalind)\
**Post date:** [May 8, 2005, 2:00pm UTC](https://forum.kirupa.com/t/loading-external-text/147220/1 "2005-05-08T14:00:17Z")

</div>

OK, I’m having the same problem someone else did a while ago with loading text from an external text file into a dynamic textbox.

The previous thread was at [http://www.kirupa.com/forum/showthread.php?t=85634&highlight=loading+external+text+flash](http://www.kirupa.com/forum/showthread.php?t=85634&highlight=loading+external+text+flash) and basically the problem is with Windows adding "  
" and Flash recognising that as TWO linebreaks.

Senocular said in the above thread, that you could just search for "  
" and replace it with nothing or just “\r” or "  
" but he never mentioned how.

Can anyone tell me how to do this? I’m just using the following simple code…

```auto
loadVariables("news.txt", "_root.content_content");

```

Thanks,  
Dave
