# Stupid Text Problem

**URL:** <https://forum.kirupa.com/t/stupid-text-problem/23913>\
**Category:** flash\
**Created:** [June 24, 2003, 7:01am UTC](https://forum.kirupa.com/t/stupid-text-problem/23913 "2003-06-24T07:01:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bcogswell11](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bcogswell11](https://forum.kirupa.com/u/bcogswell11)\
**Post date:** [June 24, 2003, 7:01am UTC](https://forum.kirupa.com/t/stupid-text-problem/23913/1 "2003-06-24T07:01:12Z")

</div>

Hey guys I’ve been searching the forums for about a half hour and can’t find the asnwer to my stupid question. I’m almost embarassed posting this because its such a n00b question and the answer is gonna be real simple. But anyways with a dynamic text box with html checked, when I hit a hard enter key on my keyboard in the text file to go down a line, flash double spaces that line. It’s only where I want to go down a line that Flash does this, in the regular text the text wraps and is single spaced. How do I get rid of this?

EXAMPLE:

\<b\>In text file:\</b\>

myVar=Hello  
Hi.

\<b\>In Flash it comes out as:\</b\>  
Hello

Hi.

Thanks!  
-brad-:evil:

---

<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:** [June 24, 2003, 9:20am UTC](https://forum.kirupa.com/t/stupid-text-problem/23913/2 "2003-06-24T09:20:34Z")

</div>

Instead of using hard returns, try putting an ampersand where you want a line break. So:

myVar=&Hello&  
&Hi.&

I think this will sort it… 🙂

---

<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:** [June 24, 2003, 9:32am UTC](https://forum.kirupa.com/t/stupid-text-problem/23913/3 "2003-06-24T09:32:18Z")

</div>

actually the & would start a new variable, not a line break 🙂

use  
or \<\*\*br\> (the latter requires html rendering to be enabled)

---

<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:** [June 24, 2003, 9:37am UTC](https://forum.kirupa.com/t/stupid-text-problem/23913/4 "2003-06-24T09:37:43Z")

</div>

Ah, good point Ahmed - I opened the wrong text file. :sure: Note to self - must check filenames first before posting. 😛

But since you already have HTML enabled, a \<br\> should do the trick.

---

<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:** [June 24, 2003, 9:39am UTC](https://forum.kirupa.com/t/stupid-text-problem/23913/5 "2003-06-24T09:39:46Z")

</div>

lol :P… yeah…

some people also use \< **p\>\<** /p\> for each paragraph… i don’t like doing that though cause it returns two line breaks 🙂
