# EMERGENCY! Help Please!

**URL:** <https://forum.kirupa.com/t/emergency-help-please/152427>\
**Category:** Uncategorized\
**Created:** [June 24, 2005, 7:38pm UTC](https://forum.kirupa.com/t/emergency-help-please/152427 "2005-06-24T19:38:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leahgrace](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@leahgrace](https://forum.kirupa.com/u/leahgrace)\
**Post date:** [June 24, 2005, 7:38pm UTC](https://forum.kirupa.com/t/emergency-help-please/152427/1 "2005-06-24T19:38:38Z")

</div>

I’m have many diffent text area components, each on a differnt layer, in the first fram of the main timeline. I want to be able to load different external text files into each of the specific instances of the text areas.

For some reason, only one of the text areas will load the file using loadVariablesNum.

How do I code it so that all of my text areas will load with the appropriate text file. As it is now, only the last mentioned loadVariableNum in my code will load.

What’s wrong?

```auto
 loadVariablesNum("text.txt", 0);
_root.onData = function(){
 minPrem1_txt.text = choicetext;
}
loadVariablesNum("fixed.txt", 0);
_root.onData = function(){
 minPrem2_txt.text = fixed;
}
 

```
