Hello everyone,
I am trying to capture the focusOut event on the RichText Editor when I click on another part of the stage or another button. My problem is when I click on the Bold button or any other button on the RichText Editor it returns an focusOut event.
I would only like to have this event fire when I click something else other than the RichText Editor.

Any suggestions.

Code:
function fout(e:FocusEvent):void{
 trace('out');
}

texteditor1.addEventListener('focusOut', fout);
I could have created a enterFrame event but I did not want to have a function checking the stage.focus.

When adding a class to a movie is there a way to isolate the class so that it only returns the events that are added to the main movie?