# Loading external txt into textbox

**URL:** <https://forum.kirupa.com/t/loading-external-txt-into-textbox/20374>\
**Category:** flash\
**Created:** [May 8, 2003, 2:18am UTC](https://forum.kirupa.com/t/loading-external-txt-into-textbox/20374 "2003-05-08T02:18:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![glitch007](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@glitch007](https://forum.kirupa.com/u/glitch007)\
**Post date:** [May 8, 2003, 2:18am UTC](https://forum.kirupa.com/t/loading-external-txt-into-textbox/20374/1 "2003-05-08T02:18:15Z")

</div>

The tutorial i’m referring to is:  
[http://www.kirupa.com/developer/mx/dynamic\_scroller.htm](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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 8, 2003, 2:32am UTC](https://forum.kirupa.com/t/loading-external-txt-into-textbox/20374/2 "2003-05-08T02:32:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 8, 2003, 2:53am UTC](https://forum.kirupa.com/t/loading-external-txt-into-textbox/20374/3 "2003-05-08T02:53:55Z")

</div>

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:

```auto

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?
