[flexcoders] Re: Problem using b in htmlText

2009-06-29 Thread Tim Hoff

Since you are not closing the a tags, it looks like the /b closing
tag is not getting recognized.  Just add /a and it works fine:

![CDATA[
ba href=event:1One/a/ba href=event:2 Twoa href=event:2
Two
]]

-TH

--- In flexcoders@yahoogroups.com, greenfishinwater
greenfishinwa...@... wrote:

 I am using Flex 3 and have a Text compnent using htmlText. I am using
the tags a and b, what I have noticed is that if I use b before
a then all the following text is in Bold, even though I use /b to
end Bold.

 This is an example of the code I am using showing the difference. Why?

 mx:Text width=100% y=250
 mx:htmlText
 ![CDATA[
 ba href=event:1One/ba href=event:2 Twoa href=event:2
Two
 ]]
 /mx:htmlText
 /mx:Text

 mx:Text width=100% y=350
 mx:htmlText
 ![CDATA[
 a href=event:1bOne/ba href=event:2 Twoa href=event:2
Two
 ]]
 /mx:htmlText
 /mx:Text





[flexcoders] Re: Problem using b in htmlText

2009-06-29 Thread greenfishinwater
Thanks Tim, that solved the problem. I don't know how I missed it!

Andrew