# Displaying external .txt prob

**URL:** <https://forum.kirupa.com/t/displaying-external-txt-prob/181183>\
**Category:** Uncategorized\
**Created:** [March 7, 2006, 4:31am UTC](https://forum.kirupa.com/t/displaying-external-txt-prob/181183 "2006-03-07T04:31:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcclept](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@mcclept](https://forum.kirupa.com/u/mcclept)\
**Post date:** [March 7, 2006, 4:31am UTC](https://forum.kirupa.com/t/displaying-external-txt-prob/181183/1 "2006-03-07T04:31:19Z")

</div>

[http://mcclept.com/](http://mcclept.com/)  
see next to the grey bar it is supposed to have text from this tutorial:[http://www.kirupa.com/developer/mx/externaldata.htm](http://www.kirupa.com/developer/mx/externaldata.htm)  
my code  
loadText = new LoadVars();  
loadText.load(“news.txt”);  
loadText.onLoad = function() {  
news.text = this.news;  
};  
news.txt is in my publichtml folder with the index.htm  
works when I preview on my machine just not when it is live  
any theories  
00
