The only way I'm able to show the hand cursor over an mx:Text element is
if I both define the cursor in the style, and include an anchor tag in
an embedded mx:htmlText. If I omit either of those things, it doesn't
work. How can I make the hand cursor appear over an ordinary mx:Text?
Here's the style:
.link
{
color: blue;
selectable: true;
useHandCursor: true;
buttonMode: true;
mouseChildren: true;
}
This shows the hand cursor:
<mx:Text styleName="link" condenseWhite="true">
<mx:htmlText>
<![CDATA[ <a href="event:http://a.com">linked text</a> ]]>
</mx:htmlText>
</mx:Text>
This does not show the hand cursor:
<mx:Text styleName="link" condenseWhite="true" text="linked text"/>
This does not show the hand cursor:
<mx:Text styleName="link" condenseWhite="true">
<mx:htmlText>
<![CDATA[ linked text ]]>
</mx:htmlText>
</mx:Text>