# Creating Multiple lines of text in a Hover Caption

**URL:** <https://forum.kirupa.com/t/creating-multiple-lines-of-text-in-a-hover-caption/49467>\
**Category:** flash\
**Created:** [April 22, 2004, 11:48pm UTC](https://forum.kirupa.com/t/creating-multiple-lines-of-text-in-a-hover-caption/49467 "2004-04-22T23:48:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdurack](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@jdurack](https://forum.kirupa.com/u/jdurack)\
**Post date:** [April 22, 2004, 11:48pm UTC](https://forum.kirupa.com/t/creating-multiple-lines-of-text-in-a-hover-caption/49467/1 "2004-04-22T23:48:31Z")

</div>

Hi - -

I have gone through the following tutorial and have been able to create a hover captio when I rollover a button:

[http://www.kirupa.com/developer/mx/captions.htm](http://www.kirupa.com/developer/mx/captions.htm)

My question is does anyone know how to create more than one line of text in the caption?

Here’s the code I’m working with from the tutorial:

on (rollOver) {  
\_root.x = 1;  
\_root.caption.words = “1st line of text”;  
}  
on (rollOut) {  
\_root.x = 0;  
\_root.caption.words = " ";  
}

Right now the only text that appears in the caption is “1st line of text”, but is there a way to modify the above code so more than one line of text can be seen?

Thanks!
