Hi,

 Like in HTML anchor (<a>) tag, we do not have a hyperlink component
directly in flex.  For this, I tried using mx:Text and htmlText property.

*public* *var* htmlTexting:String = *"<a href=\"http://cisco.com\";>Click
here to visit cisco.com</a>"*;

<mx:Text width="100%" id="mytext" color="blue" click="showMsg()" htmlText="{
htmlTexting}" fontStyle="italic" fontSize="14">

</mx:Text>

When I use <u> along with the anchor, it always shows the underline.

*public* *var* htmlTexting:String = *"<a href=\"http://cisco.com\";><u>Click
here to visit cisco.com</u></a>"*;

I want the link to be underlined, when we move the mouse over the
text. Otherwise, it should look like a normal tex. In html, we can control
it using css.

The above piece of flex code will always show the hyperlink.

Is there a way to do that in Flex.

Thanks,
Mohan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to