I am trying to set the CSS a.hover style, but I don't know how to do 
it with objects.  I tried it as seen below, but it doesn't work.  I 
want the link to have an underline when I hover over the link in the 
htmlText.  If there is another way, I am open to ideas.

var a:Object = new Object();
a.hover = new Object();
a.hover.textDecoration = "underline";
a.color = "#0000FF";
var ss:StyleSheet = new StyleSheet();
ss.setStyle("a", a);
var hypertext:TextArea = new TextArea();
hypertext.styleSheet = ss;
htmlText = "<a href='event:http://www.adobe.com'>" + collection.title 
+ "</a>";



Reply via email to