Text bug?

Hi,

I’m loading text from MySQL to Flash through PHP, so I set it all up and test it. The PHP works, Flash receives the values correctly, but … it doesn’t display them in the textfield. I gave the textfield the instance name main, html enabled and used this as:


lv = new LoadVars();
lv.onLoad = function(success) {
	if (success) {
trace(this.main0);
		main.htmlText = this.main0
	}
};
lv.load("http://www.voetsjoeba.com/php/main.php");

It traces what it should, only it just refuses to display ? I set the alias option (to get crisp pixel fonts), maybe that has something to do with it. The weird thing is, that when I use the variable main for the textbox and then set that variable, then it works ! I mean … wtf !?


lv = new LoadVars();
lv.onLoad = function(success) {
	if (success) {
		main = this.main0;
	}
};
lv.load("http://www.voetsjoeba.com/php/main.php");

It not-displaying makes no sense to me