Loading data into variables

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?

Also actually it works if i set a variable to something like

var var1 = “Hello”;

The problem comes when i try set

var var1 = this.content

why would this be?