TLF applying hyperlinks issue
Hi,
I have a textArea in which I have assigned a textflow. On the text if I want to apply a hyperlink then I give a URL and target. Now if I haven't applied any other formatting to the text it creates a hypelink and makes the text blue and underlined, which is the normal case.
Now suppose I change the fontSize of the text and then apply a hyperlink, then the link gets applied, but the text neither gets any color , nor does it become underlined.
But if I do a Ctrl + Click on the same text, my link gets opened. But the hyperlink styling doesn't get applied.
This is what I am doing for applying link to some text:
public function changeLink( urlLink : String, target : String, extendToOverlappingLinks : Boolean):void
{
if ( myTextArea.textFlow && myTextArea.textFlow.interactionManager is IEditManager)
{
IEditManager(myTextArea.textFlow.interactionManager).applyLink( url, _target, extendToOverlappingLinks);
}
}
So why is this happening ?
Thanks
