# Text bug?

**URL:** https://forum.kirupa.com/t/text-bug/32595
**Category:** Uncategorized
**Created:** [October 8, 2003, 7:29pm UTC](https://forum.kirupa.com/t/text-bug/32595 "2003-10-08T19:29:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Voetsjoeba](https://avatars.discourse-cdn.com/v4/letter/v/ac91a4/32.png) [@Voetsjoeba](https://forum.kirupa.com/u/Voetsjoeba)
#### Post date: [October 8, 2003, 7:29pm UTC](https://forum.kirupa.com/t/text-bug/32595/1 "2003-10-08T19:29:19Z")

</div>

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:

```auto

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 !?

```auto

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
