Highlighting Dynamic Text Fields?


Ok the problem is very simple but the solution seems to be hard.

I want to be able to highlight specific areas of a a dynamic text field using ActionScript.

I must be able to highlight more than one area in the same text field and the highlight must “stick” after the focus has changed. I know you can do this with the TextSnapshot Object, but it only works with static text. Is there a way to do it with dynamic text?

I have tried CSS (text background tags are not supported). I have tried the Selection class object (the highlight is killed on blur or when you foucs on something else). Nothing seems to work. The only thing I can think of is building a custom movie clip in back of the text field as you select it. It wouldn’t be a real highlight but it would appear like one. Any better ideas??