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?
loadVariablesNum("text.txt", 0);
_root.onData = function(){
minPrem1_txt.text = choicetext;
}
loadVariablesNum("fixed.txt", 0);
_root.onData = function(){
minPrem2_txt.text = fixed;
}