# Dynamic text with HTML problem

**URL:** <https://forum.kirupa.com/t/dynamic-text-with-html-problem/237151>\
**Category:** Uncategorized\
**Created:** [August 27, 2007, 6:11pm UTC](https://forum.kirupa.com/t/dynamic-text-with-html-problem/237151 "2007-08-27T18:11:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjakes24](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jjakes24](https://forum.kirupa.com/u/jjakes24)\
**Post date:** [August 27, 2007, 6:11pm UTC](https://forum.kirupa.com/t/dynamic-text-with-html-problem/237151/1 "2007-08-27T18:11:01Z")

</div>

For some reason, I can not get Flash to use my HTML tags. Instead, it puts its own in. For example in the following code:

mytxt.htmltext = “one”;  
trace(mytxt.htmltext);

which then outputs:  
\<P ALIGN=“LEFT”\>\<FONT FACE=“Arial” SIZE=“8” COLOR="#000000"\>one\</font\>\</p\>

Which is not what I want. Because if I put  
mytxt.htmltext = “\<font color=‘Red’\>One\</font\>”;  
trace(mytxt.htmltext);

which would output:  
\<P ALIGN=“LEFT”\>\<FONT FACE=“Arial” SIZE=“8” COLOR="#000000"\>"\<font color=‘Red’\>One\</font\>\</font\>\</p\>

this is not what I want. How do I get flash to keep its own HTML tags out???
