LIST text in dynamic text box

Hello

I have a dynamic text field with the variable name “tex”. I have a button which says

on(rollOver) {
tex=“testing”;
}

And this works. Although how do I make a list of text appear so it looks like this

testing
testing
testing
testing

Any help would be great.

Thanks
Sandman9