txt = "<b>Привет</b> <i>всем</i>" this.createTextField("dt", 0, 0,0, 0, 0) dt.html = true dt.htmlText = txt newTxt = dt.text trace(newTxt)