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[
<b><a href="event:1">One</a></b><a href="event:2"> Two<a href="event:2">
Two
]]>

-TH

--- In [email protected], "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[
> <b><a href="event:1">One</b><a href="event:2"> Two<a href="event:2">
Two
> ]]>
> </mx:htmlText>
> </mx:Text>
>
> <mx:Text width="100%" y="350">
> <mx:htmlText>
> <![CDATA[
> <a href="event:1"><b>One</b><a href="event:2"> Two<a href="event:2">
Two
> ]]>
> </mx:htmlText>
> </mx:Text>
>


Reply via email to