# Load external txt file into dynamic text field!

**URL:** <https://forum.kirupa.com/t/load-external-txt-file-into-dynamic-text-field/201483>\
**Category:** flash\
**Created:** [September 21, 2006, 6:19pm UTC](https://forum.kirupa.com/t/load-external-txt-file-into-dynamic-text-field/201483 "2006-09-21T18:19:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HandyMan](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@HandyMan](https://forum.kirupa.com/u/HandyMan)\
**Post date:** [September 21, 2006, 6:19pm UTC](https://forum.kirupa.com/t/load-external-txt-file-into-dynamic-text-field/201483/1 "2006-09-21T18:19:42Z")

</div>

Hello! Got a huge issue with a website , and the problem is that I am not able to load in external text files into a dynamic text field…

I got a button that is suppose to:  
on (release) {  
loadText = new LoadVars();  
loadText.load(“TEXT1.txt”);  
loadText.onLoad = function(success) {  
if (success) {  
// trace(success);  
\_root.sub\_mc.textHolder\_mc.historia\_txt.html = true;  
\_root.sub\_mc.textHolder\_mc.historia\_txt.htmlText = this.myNews;  
}  
};  
}

It is suppose to load an external text file from the same folder as the flash file is located…  
the target file lies in a movieclip. Why am I experiencing problems with this ?

Would very much appreciate an answer, totaly confused 😛 😃

Greatings from Handyman! 😃
