I've tried various techniques that I picked up on the web, but can't
seem to apply a style specifically to the anchor links in a
RichTextEditor.

Basically, I want a style like:
.myRTETextAreaStyle A {
     color:#0000ff;
     text-decoration:underline;
}
but I'm not having much luck.

I tried setting
  myRTE.textArea.styleName="myRTETextAreaStyle";
in creationComplete.

I tried creating a stylesheet on the fly using the StyleSheet object,
CSSStyleDeclaration, and the StyleManager.

I (first) tried simply declaring the style in an mx:Style block.

Nothing seems to work.

And for the life of my I can't understand why the RTE doesn't do it by
default out of the box. Under what earthly circumstance would NOT
differenciating a link from the rest of the text in an RTE be
intuitive?? Ah well... c'est l'vie.

Anyone know how to make it work after the fact?

Thanks in advance!
-Carl

Reply via email to