Flash Is Ignoring My Most Of My Tags In A Html Textfield
I've been trying to figure out for a while now. I usually manage to make my textFields work properly, but this is just driving me nuts. I have this TextField that I inject HTML for
Solution 1:
Ok to get this to work, I have used the following syntax:
<mx:Text><mx:htmlText>
<![CDATA[<b>Some bold text </b>and some normal text <br/><u>This text is underlined</u> normal text to compare<br/><i/>This text is italic</i>]]>
</mx:htmlText></mx:Text>
I didnt try including any of the extra script you have in your question, but it seems to handle the html tags ok like this.
Also here is the livedocs reference I used to check my syntax...
http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_04.html
Looking back at your question I've just realised that you probably aren't using Flex, ok so this is Flex specific, sorry.
Post a Comment for "Flash Is Ignoring My Most Of My Tags In A Html Textfield"