Loading external txt into textbox

The tutorial i’m referring to is:
http://www.kirupa.com/developer/mx/dynamic_scroller.htm

There are two options for the text box which won’t work:
Full Justify and Render Text as HTML

Could anyone tell me why?

if you’re using mx then you should be able to click on a little icon in the text properties section that looks similar to ‘<>’ which will give you a little freedom with html tags. I am not sure about the justify ability…if i find the answer i’ll let you know shortly.

:love: ~ Seretha

i got the html rendering part working:

You have to set a VAR property for the textbox (let’s say “textBoxText”)

so the line in the frame actions becomes:


loadText.onLoad = function() {
	textBoxText = this.kirupatext;
	//as opposed to textBox.text = this.kirupatext;
};

But now something else messes up: the scrollbars, they won’t do anything

To sum it up:
The “<>” button doesn’t work
when i use “textBox.text = this.kirupatext” but the scrollbar does

The “<>” button works when I set a var property on the textbox and use “textBoxText = this.kirupatext” but the scrollbar doesn’t

Full Justify still doesn’t work in both these cases

why is it that the scrollbars don’t work when I set a var property?