views:

28

answers:

1

I've got some text that includes links that I display in a RichEditableText component. How do I change the color of the links from the default blue? I tried the example posted by Peter deHaan but it doesn't work with SDK 4.1. I found a way to do this in MXML, but the text needs to be localizable which means I load it at runtime based on the locale, so I can't just include it inline with the MXML.

To recap: How do I set the link colors for a RichEditableText component that displays HTML that gets loaded at runtime?

Thanks in advance.

A: 

Found a way to do this globally, it was in another example on Peter deHaan's site:

http://blog.flexexamples.com/2009/03/17/globally-styling-anchor-tags-on-a-textview-control-in-flex-gumbo/

It's unfortunate you can't set these sorts of things with CSS...

Wade Mueller