With TextField-based text in MX components, I don't think this is easy. You'd 
probably have to use mouseMove to track the mouse within a TextField and 
low-level TextFIeld APIs to discover what range of characters the mouse is over.

With TLF in Spark components, I think it is easier because a hyperlink is 
represented by a LinkElement instance, and it dispatches rollOver and rollOut 
events.

 - Gordon

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of stldvd
Sent: Monday, September 14, 2009 1:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Hover Event over Text



Hi All,

Is there some way in Flex to have an event fire when the cursor hovers over a 
hyperlink?

I don't want to use the TextEvent because that is only relevant to the click 
event. I need to make something happen when the mouse just hovers over text.

Thanks in advance...

David

Reply via email to