# Inserting a blank line with Dynamic text

**URL:** https://forum.kirupa.com/t/inserting-a-blank-line-with-dynamic-text/25341
**Category:** flash
**Created:** [July 11, 2003, 5:41pm UTC](https://forum.kirupa.com/t/inserting-a-blank-line-with-dynamic-text/25341 "2003-07-11T17:41:49Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![cheddar](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/cheddar/32/267_2.png) [@cheddar](https://forum.kirupa.com/u/cheddar)
#### Post date: [July 11, 2003, 5:41pm UTC](https://forum.kirupa.com/t/inserting-a-blank-line-with-dynamic-text/25341/1 "2003-07-11T17:41:49Z")

</div>

Is there anyway to add a blank line to a dynamic text object.

For example :-

.content.text = “How do I add a blank line into this object?”;

Is this possible?

---

<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: [July 11, 2003, 5:48pm UTC](https://forum.kirupa.com/t/inserting-a-blank-line-with-dynamic-text/25341/2 "2003-07-11T17:48:01Z")

</div>

i believe  
[AS]  
.content.text = “How” + newline + “do I add…”  
[/AS]

---

<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: [July 11, 2003, 5:57pm UTC](https://forum.kirupa.com/t/inserting-a-blank-line-with-dynamic-text/25341/3 "2003-07-11T17:57:26Z")

</div>

> \*Originally posted by Digitalosophy \*  
> \*\*i believe  
> [AS]  
> .content.text = “How” + newline + “do I add…”  
> [/AS] \*\*

I should be paying you after all the help you have given me 🙂

Believe it or not I do try to findout things by reading the help files etc but often I don’t know where to start.

Thanks again.

---

<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: [July 11, 2003, 6:17pm UTC](https://forum.kirupa.com/t/inserting-a-blank-line-with-dynamic-text/25341/4 "2003-07-11T18:17:02Z")

</div>

lol no problem man, glad i could help 🙂

---

<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: [July 11, 2003, 6:22pm UTC](https://forum.kirupa.com/t/inserting-a-blank-line-with-dynamic-text/25341/5 "2003-07-11T18:22:23Z")

</div>

theres also \r or

text = “This is one line.\rThis is another line.  
And yet another line.”;

---

<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: [July 11, 2003, 6:23pm UTC](https://forum.kirupa.com/t/inserting-a-blank-line-with-dynamic-text/25341/6 "2003-07-11T18:23:59Z")

</div>

i was going to suggest that, but for some reason I thought that wouldn’t work with Flash, only server side. Better solution though, thanks for clearing that up Sen

---

<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: [July 11, 2003, 6:41pm UTC](https://forum.kirupa.com/t/inserting-a-blank-line-with-dynamic-text/25341/7 "2003-07-11T18:41:05Z")

</div>

😉

just fyi Flash inherently uses \r but recognizes  
as a new line too  
Mac OS9 and below uses \r  
Windows uses

\*nix and Mac OSX uses

Often people run into troubles with Windows generated text files as it can cause double spacing in interpreting text as both the \r and  
get read as seperate lines making 2 instead of the 1 seen in a windows text file. Some text editors allow you to convert such text or just use \r or  
instead when editing.
