# \[MX2004\] textArea component does not display data

**URL:** <https://forum.kirupa.com/t/mx2004-textarea-component-does-not-display-data/159049>\
**Category:** Uncategorized\
**Created:** [August 14, 2005, 8:10am UTC](https://forum.kirupa.com/t/mx2004-textarea-component-does-not-display-data/159049 "2005-08-14T08:10:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dphan](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dphan](https://forum.kirupa.com/u/dphan)\
**Post date:** [August 14, 2005, 8:10am UTC](https://forum.kirupa.com/t/mx2004-textarea-component-does-not-display-data/159049/1 "2005-08-14T08:10:27Z")

</div>

I created a simple flash doc as follows:

# 1 txtArea with instance name: testTxt

# on 1st frame of action layer I put in the code:

// load text file  
var exData:LoadVars = new LoadVars();  
exData.onLoad = function(success) {  
if(success) {  
\_root.testTxt.txt = exData.txtTest;  
} else  
trace(“Load failed”);  
}  
exData.load("…/xml/test.txt");  
stop();

# my Text file is: test.txt

txtTest=This is a test, blah. blah,blah…

Running in the debug mode I can see that the data is being loaded correctly  
but it does not display in the textArea at all. Any Ideas ??? please advise
