Multiple Text Files In Textbox

I would like to know how to load multiple text files in a textbox. I followed the dynamic scroller tutorial here, which works w/ loading the 1 text file. But I’m making a all-flash site for my poetry site, and can’t load the poems list, and the poem text in 2 different list box’s. I got it to load one or the other, and I tried the & thing, but didn’t work. Any help is greatly appreciated.

couldn’t you just assign the new text to the variable for your text box?

Lets say you have variables “text1” “text2” and “text3” with different poems loaded into each one, instead of changing which variable loads into the textbox have one variable named “textdisplay” and then when you want to load one just use

textdisplay = text1

this will set the value of text1 to textdisplay then if you want to change what’s in the box just set textdisplay to a new value.

or if you are wanting to load both into the same textbox you could do this

textdisplay = text1+"<br>"+text2

That’s what I’ve tried. Here’s what I got:
2 dynamic text box’s (1 with the poem listings, and the other with the poem itself)

2 text files (1 with the poems, and 1 w/ the poem text)

And I’m using the ActionScript found on this site to load the text file(s). I attempted to load 1 text file with the names (kirupatext= for example), but it only loaded 1, then I tried 2 text files (like right now), 1 that contained the poems, and 1 that contained the poem text. Neither of these attempts have worked successfully with what I want. I either load just 1 of the sections, or none.

ahh, i understand now, put them in like this in your textfile:

text1=your text here&text2=your other text here

that will load text1 and text2 in as variables, you can put them on seperate lines but flash will add a blank line on the end of the variable.
I’ve got a flash file where i load multiple variables all from one text file and it works fine like that

I tried the ‘&’ sign, but it didn’t work. May I see how you did yours?

try adding a & in front of the first variable as well, shouldn’t matter but it might. also how are you loading the variables? If you want put your files in a zip file and post them and I can take a look and see if I can find anything wrong.