Hi,
You will have to go though each property of the rich text value looking for a textColor property, so something like this JavaScript in the exit event;
var spans = util.xmlToSpans(this.value.exData["##xHTML"].saveXML());
for (var i = 0; i < spans.length; i++)
{
if (spans[i].textColor && !color.equal(spans[i].textColor, color.black))
{
spans[i].textColor = color.black;
}
}
var xHTML = util.spansToXML(spans);
this.value.exData.loadXML(xHTML, false, true);
Using util.xmlToSpans() will lose some other formatting, as it only supports a subset of what is available. If that is a problem then you can use E4X or some other XML handling code.
Bruce