ok - i have an external txt file
saved in the same folder as the swfs that i am loading the text into
one of them is working fine
and the other is not
working
loadText = new LoadVars();
loadText.load("impack.txt");
loadText.onLoad = function(success) {
if (success) {
welcome.text = this.welcome;
welcome.html = true;
welcome.htmlText = this.welcome;
};
};
not working
loadText = new LoadVars();
loadText.load("impack.txt");
loadText.onLoad = function(success) {
if (success) {
aone.text = aone;
aone.html = true;
aone.htmlText = aone;
};
if (success) {
atwo.text = _root.atwo;
atwo.html = true;
atwo.htmlText = _root.atwo;
};
if (success) {
athree.text = _root.athree;
athree.html = true;
athree.htmlText = _root.athree;
};
if (success) {
afour.text = _root.afour;
afour.html = true;
afour.htmlText = _root.afour;
};
if (success) {
afive.text = _root.afive;
afive.html = true;
afive.htmlText = _root.afive;
};
};
i’ve tried using _root. and -parent. but to no avail!