# Dynamic Text Multiline Display

**URL:** <https://forum.kirupa.com/t/dynamic-text-multiline-display/206954>\
**Category:** flash\
**Created:** [November 13, 2006, 2:42pm UTC](https://forum.kirupa.com/t/dynamic-text-multiline-display/206954 "2006-11-13T14:42:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![superiority](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@superiority](https://forum.kirupa.com/u/superiority)\
**Post date:** [November 13, 2006, 2:42pm UTC](https://forum.kirupa.com/t/dynamic-text-multiline-display/206954/1 "2006-11-13T14:42:10Z")

</div>

Hey guys.

I am trying to make a dynamic text box in flash 8 that will display text that I create using a function. Like this.

```auto
function Messages(words:String) {
    if (i<5) {
        i++;
        words = (_global.words) + i;
        words = "";
    }
    talker.text = (_global.words1 + _global.words2 + _global.words3 + _global.words4 + words)
    IDInterval = setInterval(resetTalker ,10000);
}

```

Maybe you can see what I’m trying to do from this?

In any case. I am trying to make a formula so that when you enter something like:

```auto
Messages("Hello World");
Messages("How are you?");

```

the text

Hello World  
How are you?

will appear, on seperate lines.

Can anybody see what and how to do what I’m trying to do?

Thanks =).

P.S. sorry if somebody has posted this, but i did search so … =S
