Rollover text tooltip advise

Hi

I want a rollover tooltip text that can adjust depending on how much text is in the xml node.

any ideas… links

I found a as3 version but wouldn’t know how to convert it, if even possible…

thanks