Hi Greg, Yea, really is funny... Were your textfields multiline?
I've tried the img tag solution, the problem is that it does not snuggle between text, the tag must be either left or right justified so it's never where it should be. So far I've built a function that gets the x/y ( relative to textfield ) and w/h of a string from a textfield. getWordRect(textField, searchString) This returns a rectangle object that describes the word rectangle. I am planning to use this with a mouse hotspot class I've written a while ago. This will allow me to pass the rectangle objects and create a hover entity that will broadcast the entity {id,x,y,w,h} to the hover event handler. It's pretty fricken elaborate. I think this functionality will be useful as Flex does not even support these kinds of functions so I will post this stuff on my site soon. I plan to implement a getLineMetrics style function as the base code that the getWordRect is driven with will allow me to do this relatively easily. I plan to build a sub function of getWordRect that will get all word rectangles of a searchString. Word to the Adobe developers, I think this is functionality the TextField class in Flex should implement. I also think htmlText for TextField Objects should have a realtime DOM. M. On 6/9/06, GregoryN <[EMAIL PROTECTED]> wrote:
well, The only solution I can suggest (and I've used it several times) is to make each of your links embedded into separate mc. But I was making just quite short html texts dynamically at runtime. Depending on situation you may have to embed an SWF within IMG tag and use some kind of flashvars to set it's behavior . Funny, isn't it? -- Best regards, GregoryN ================================ http://GOusable.com Flash components development. Usability services. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com