Hello
Try to use htmlText property of Text
Example ....
// mxml code
<mx:Text selectable="true" link="linkHandler(event);">
<mx:htmlText>
<![CDATA[<a href='event:http://www.adobe.com'>Navigate to
Adobe.com.</a>]]>
</mx:htmlText>
</mx:Text>
// script code
public function linkHandler(event:TextEvent):void
{
// do something
navigateToURL(new URLRequest(event.text), '_blank')
}
Thanks
Virat Patel
On Feb 3, 7:10 pm, sravan kumar <[email protected]> wrote:
> hi,
>
> Can any one tell me how to put hyper links in flex ,not mx:linkButton.
> I need text with hyperlink.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---