# Hover caption tutorial / formatting in AS

**URL:** https://forum.kirupa.com/t/hover-caption-tutorial-formatting-in-as/188531
**Category:** flash
**Created:** [May 8, 2006, 8:00pm UTC](https://forum.kirupa.com/t/hover-caption-tutorial-formatting-in-as/188531 "2006-05-08T20:00:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![1saac](https://avatars.discourse-cdn.com/v4/letter/1/5daacb/32.png) [@1saac](https://forum.kirupa.com/u/1saac)
#### Post date: [May 8, 2006, 8:00pm UTC](https://forum.kirupa.com/t/hover-caption-tutorial-formatting-in-as/188531/1 "2006-05-08T20:00:15Z")

</div>

I followed the hover caption tutorial, everything worked, etc. What I want to do is experiment with different uses for the hover captions. I tried to put longer text inside the quotes (“something something blah blah blah” instead of “Portable Devices”, etc), but it extends the yellow box way past the text, and if I try to make it multiple lines I get this error mesage:

**Error** Scene=Scene 1, layer=action, frame=1:Line 10: String literal was not properly terminated  
blah blah blah", this);

**Error** Scene=Scene 1, layer=action, frame=1:Line 11: Syntax error.  
this.onRollOut = function() {

Total ActionScript Errors: 4 Reported Errors: 4

So how do I make a return in a text block? \<nbr\> doesn’t work. I’m a total newb, so please help. I’m currently reading through the explanation in the tutorial to see if there’s something in there that explains it.

Alternating between Flash 8 at school and Flash MX 2004 Professional at home.
