Hi all,
I am trying to load data into a variable. This part works fine
loadText = new loadVars();
loadText.load("htmltextFile.txt");
loadText.onLoad = function(success)
{
if (success) {
tb1.htmlText = this.content;
}
else{
tb1.htmlText= "Online Content Unavailable, Loading Offline Version";
}
This works fine and it loads it into the text field tb1.
However if i change this to
var var1 = this.content
then at a later stage do
tb1.htmlText = var1
this doesnt work :(…
Any idea?