# Using a htlm file to populate info in a scrolling text box?

**URL:** <https://forum.kirupa.com/t/using-a-htlm-file-to-populate-info-in-a-scrolling-text-box/1965>\
**Category:** Uncategorized\
**Created:** [April 9, 2002, 4:40pm UTC](https://forum.kirupa.com/t/using-a-htlm-file-to-populate-info-in-a-scrolling-text-box/1965 "2002-04-09T16:40:09Z")\
**Posts on this page:** 2\
**Page:** 1

<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:** [April 9, 2002, 4:40pm UTC](https://forum.kirupa.com/t/using-a-htlm-file-to-populate-info-in-a-scrolling-text-box/1965/1 "2002-04-09T16:40:09Z")

</div>

Hi All,

As you can probably guess I’m new to flash but it seems to be getting easier as I program in it more and more.

Now I’m stumped, I’m not sure on how too go about populating text boxes??? I can enter the text manually into the text box but I can’t seem to populate it with anything else.

Ultimatley I would like to populate the scrolling text box with a plain text html file with a couple of graphics in it to be scrolled with the text.

Or maybe I’m going about this all wrong??? Any help is greatly appreciated!

---

<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:** [April 12, 2002, 2:55am UTC](https://forum.kirupa.com/t/using-a-htlm-file-to-populate-info-in-a-scrolling-text-box/1965/2 "2002-04-12T02:55:27Z")

</div>

Scrolling text and graphics together can be a real pain in the butt for a Flash developer. Populating text fields is pretty easy though.

Lets say you have a dynamic text field, with a “variable” name of  
\_root.myTextBox

Now, if you declare that variable on the main timeline, it will show up in that box. ie

myTextBox=This is an example of a dynamic text box.;

on the main timeline would show. Likewise if in a movie clip you placed

\_root.myTextBox=This is an example of a dynamic text box.;

it would show up in the text box as well.

Try out that simple example in a test movie, and then ask me about html in dynamic text boxes and I’ll explain from there.
