# HTML textfield shows my html tags?

**URL:** <https://forum.kirupa.com/t/html-textfield-shows-my-html-tags/234193>\
**Category:** flash\
**Created:** [July 31, 2007, 11:54am UTC](https://forum.kirupa.com/t/html-textfield-shows-my-html-tags/234193 "2007-07-31T11:54:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![verbruggher](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/verbruggher/32/3329_2.png) [@verbruggher](https://forum.kirupa.com/u/verbruggher)\
**Post date:** [July 31, 2007, 11:54am UTC](https://forum.kirupa.com/t/html-textfield-shows-my-html-tags/234193/1 "2007-07-31T11:54:47Z")

</div>

**My html properties of my textfield are set on true and STILL he shows all my html tags?** (property is set with actionscript AND in properties panel)

# The XML with the html content looks like this:

# \<?xml version=“1.0” encoding=“utf-8” ?\> \<texts\> \<text\>\<![CDATA[\<p\>Vai kaut reizi esi\</p\>]]\>\</text\> \</texts\>

```auto

var xmlTexts:XML = new XML();
xmlTexts.ignoreWhite = true;
xmlTexts.onLoad = function(ok) {
    if (ok) {
        var varText = this.firstChild.firstChild;
        mvcText1.txt.html = true;
        mvcText1.txt.htmlText = new String(varText);
        //mvcText1.txt.htmlText = "<p> this is text </p><p> this is text </p><p> this is text </p>";;
        trace("HTML set on "+mvcText1.txt.html);
    }
};
xmlTexts.load("texts.xml");

```
