Well, you don't want to escape the html symbols if you are assigning the html text via actionscript. You only need to use the entity syntax if you are using declarative mxml, because the compiler will convert them to the normal characters.
Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of jarottman Sent: Friday, November 13, 2009 2:18 PM To: [email protected] Subject: [SPAM] [flexcoders] mx:Text and htmlText attribute I am having a small issue with the htmltext attribute on a Text component. If I use the following text statically I get the the result that I am looking for. A red Text component that has the text Some Text in bold. <font color="#ff0000"><b>Some Text</b></font> Now when I pull this same data in from my cfc, I get the following display on my Text component. Instead of rendering the html correctly the html attribute is simply outputting the formatted html as text. <font color="#ff0000"><b>Some Text</b></font> Here is my Text Control: <mx:Text y="36" x="10" htmlText="Title: {mReviewVO.MediaTitle}" fontSize="12"/> mReviewVO is a bindable value object. Here is the dump I get for mReviewVO.MediaTitle: MediaTitle = "<font color="#ff0000"><b>Some Text</b></font>" The reason I don't just make the entire component red is because I am checking for black listed words. And only the black listed words have alternate text color and weight. Has anyone ever run into an issue like this before? This is becoming a pain.

