[flash8] trouble highlighting specific areas of text in a dynamic text box

Hi all, I’m currently trying to work out a method to highlight specific areas of text within a dynamic text field at runtime.
The method I’ve been toying with so far has been the use of CSS highlighting, but have not seemed to have any luck thusfar. What I’m attempting to do is to illustrate, to students, sections within a passage of text pertaining to correct methods of source referencing (source in terms of bibilographical references), and so am essentially trying to change the background colour of sections of text specified at runtime.
Here’s some code I’ve thrown together to test the CSS theory:

var highlightstyle = 'span.highlight { background-color:yellow }';
var txt = '<p><span class="highlight">highlighted text</span> non highlighted text<span class="highlight"> more highlighted text</span></p>';
txtbox.html = true;
txtbox.styleSheet = highlightstyle;
txtbox.htmlText = txt;  

however it don’t work…and here I was thinking this would be a fairly easy affair :h:
Any ideas?