# Carriage Return In Dynamic Text

**URL:** https://forum.kirupa.com/t/carriage-return-in-dynamic-text/65241
**Category:** flash
**Created:** [September 24, 2004, 9:21am UTC](https://forum.kirupa.com/t/carriage-return-in-dynamic-text/65241 "2004-09-24T09:21:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JP\_West](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@JP\_West](https://forum.kirupa.com/u/JP_West)
#### Post date: [September 24, 2004, 9:21am UTC](https://forum.kirupa.com/t/carriage-return-in-dynamic-text/65241/1 "2004-09-24T09:21:32Z")

</div>

Im loading content from an external text file, but when I press return to do a line break Flash shows its as a double line break.

eg:  
Blah Blah Blah  
Blah

is what I want

Blah Blah Blah

Blah

Is what I get.

I’ve searched the forums and found out how to do it in xml, but I’m using normal .txt files. Help please…

---

<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: [September 24, 2004, 10:08am UTC](https://forum.kirupa.com/t/carriage-return-in-dynamic-text/65241/2 "2004-09-24T10:08:11Z")

</div>

I suggest you make the dynamic text box render as html and in the text file you can then use standard HTML tags and you will have more control over the layout.

ie use the ‘br’ or ‘p’ tags (as well ‘b’ or ‘font’)

🙂

---

<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: [September 24, 2004, 11:41am UTC](https://forum.kirupa.com/t/carriage-return-in-dynamic-text/65241/3 "2004-09-24T11:41:07Z")

</div>

I know that will work… but I was going for a non-html text file… I guesss it will have to do though, it’s not much of an inconvenience really.

---

<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: [September 24, 2004, 3:25pm UTC](https://forum.kirupa.com/t/carriage-return-in-dynamic-text/65241/4 "2004-09-24T15:25:34Z")

</div>

try putting \r and

one is a carriage return, and one is a line break… use them both together for a new paragraph -

cheers!
