Add your FocuseEvent.FOCUS_OUT event to the textArea property (more
like - child) of your RichTextEditor.  Given a RichTextEditor id
of "rte" it'd look like this in AS3:

rte.textArea.addEventListener(FocusEvent.FOCUS_OUT, onFocusOut);

function onFocusOut(event:FocusEvent):void
{

   // add code here
}



Hope this helps!

-Nathan D.
--- In flexcoders@yahoogroups.com, "Derrick Anderson"
<[EMAIL PROTECTED]> wrote:
>
> Hi, so I noticed that the RTE does not have a focusOut event that it
> dispatches. I want to dispatch an event whenever somebody blurs the
RTE the
> same way I can with the focusOut event on regular text fields. Is this
> possible? I have tried the 'change' event and 'valueCommit', but both
of
> these fire way too much- i only want it fired when they leave the RTE,
> possible?
>
> thanks,
> d.
>


Reply via email to