# Please PLEASE help! HTML in dyn textbox

**URL:** <https://forum.kirupa.com/t/please-please-help-html-in-dyn-textbox/39212>\
**Category:** Uncategorized\
**Created:** [January 4, 2004, 10:48pm UTC](https://forum.kirupa.com/t/please-please-help-html-in-dyn-textbox/39212 "2004-01-04T22:48:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![guppy](https://avatars.discourse-cdn.com/v4/letter/g/7feea3/32.png) [@guppy](https://forum.kirupa.com/u/guppy)\
**Post date:** [January 4, 2004, 10:48pm UTC](https://forum.kirupa.com/t/please-please-help-html-in-dyn-textbox/39212/1 "2004-01-04T22:48:29Z")

</div>

OK, I have a dynamic text box:  
instance name: bodytext  
var name: text

I want to add text in actionscript. It works normally like this:  
bodytext.text = “text here”;

But with a long piece of text I want to add linebreaks.  
I think this will only work if I render as HTML. So now I press the ‘render as HTML’ button in the properties panel. Then I change the following:  
bodytext.htmlText = “text here\<br\> more text here”;

and it doesn’t work! I have tried everything:

bodytext.text = “text here\<br\> more text here”;

bodytext.html = true;  
bodytext.htmlText = “text here\<br\> more text here”;

It just doesn’t show any text now!  
HELP!!!  
How do I add just hard returns between my lines???

THANK YOU!
