Dynamic text box, programatic text and html tags

Never mind … I just figure it out “MovieClip(root).txtTitle.htmlText” … heh.
Sorry for this, I’m kind of new to AS3.


Hi there,

I have a dynamic text field called “txtTitle” with the “Render as HTML” button activated.
I am trying to add text to it programmatic by using this (the text is outside the movie clip where the code sits):


MovieClip(root).txtTitle.text = "Some text in here with html tags like <b>BOLD</b>!";

The html tags gets to be rendered as regular text.
Obviously I am doing something wrong … can anyone care to explain me what do I miss?

Thanks!
(I did use the search function but could not find anything like this situation - sorry if I repeat).