# Issues with multiple lined dynamic text fields

**URL:** <https://forum.kirupa.com/t/issues-with-multiple-lined-dynamic-text-fields/66124>\
**Category:** Uncategorized\
**Created:** [October 2, 2004, 11:12pm UTC](https://forum.kirupa.com/t/issues-with-multiple-lined-dynamic-text-fields/66124 "2004-10-02T23:12:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![defcap](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@defcap](https://forum.kirupa.com/u/defcap)\
**Post date:** [October 2, 2004, 11:12pm UTC](https://forum.kirupa.com/t/issues-with-multiple-lined-dynamic-text-fields/66124/1 "2004-10-02T23:12:43Z")

</div>

when a button is hovered over, i want a dynamic text box to display a message. my frist question: what is the actionscrip that will do this and where do i need to put it. secondly, how do i tell it to print a multilined text. for inscnace, you hover over a button and in a text box appears

picture 1  
9/9/04  
description

…simple, but i dont know how. thansks.

---

<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:** [October 3, 2004, 2:11am UTC](https://forum.kirupa.com/t/issues-with-multiple-lined-dynamic-text-fields/66124/2 "2004-10-03T02:11:36Z")

</div>

I’m not sure how to make a multilined variable, but I can give you the code for the rollover.

```auto

on(rollOver)
{
    _root.textvar = "put phrase here";
}

```

Then Make a dynamic text box and make the variable that it uses in the properties box, “textvar”.

-Chris

---

<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:** [October 3, 2004, 6:38am UTC](https://forum.kirupa.com/t/issues-with-multiple-lined-dynamic-text-fields/66124/3 "2004-10-03T06:38:09Z")

</div>

> [@superdiscopirat](#):
>
> I’m not sure how to make a multilined variable, but I can give you the code for the rollover.
> 
> ```auto
> 
> on(rollOver)
> {
> _root.textvar = "put phrase here";
> }
> 
> ```
> 
> Then Make a dynamic text box and make the variable that it uses in the properties box, “textvar”.
> 
> -Chris

```auto

on(rollOver)
{
    _root.textvar **.text** = "put phrase here";
}

```

[http://www.kirupaforum.com/forums/showthread.php?t=71789](http://www.kirupaforum.com/forums/showthread.php?t=71789)
