Underlined Text On (rollOver)

Is there an action script to do on (rollover) underline text? I know you could make two instances of the text one with the line and one without and then have them switch on (rollOver) but is there an AS for it?
Thanks