Text into dynamic text box

have been trying this yesterday…well had a few queries

1— I saved my text in txt format—yes I set a variable for the text box and used it this way

test = “dsaggdddddddddddddddd”

test is the variable…but it does not show ---- well I also wanted to add the scroll facility

need some assistance:block: :block:

are you saying that you have an external text file which feeds the variable through a loadVariables(); method, or that you have that variable set on the main timeline?

try this first.

open a new movie.

on the stage add a text field. With it selected, choose “Dynamic Text” from the text panel. Select the field that says, “variable” and enter into that field (without the quotes) “_root.textOutPut”

create a new layer for the a/s. Select frame one and type in

textOutPut=“The rain in spain stays mainly on the plains.”;

If you test that and do not see the text apear in the text box… something is wrong… write back to me.

As for the scroll issue, there’s another question on scrolling in Flash 5.0 that came in tonight. I need to get home before I’ll have a good example of how it works for you guys. 8 am or so EST.

It didnt work David.

well not exactly as david said but do it with loadvariables

make a dynamic text tield and in variabe field in text options panel type a variable name

the create a text file with the data you want to diaplay with txt extension

beging the txt file wth the variable name by that i mean

variablename=text here

the add action script to the first frame

loadVariable action
and use the text file name …the one with txt

P.S-- save your txt file in same location where your save your.fla file

darn it, i didnt follow it right.
:slight_smile:
That is why it didnt work, i’ll try again.