Are you trying to get mouse clicks on the RichEditableText component, or on individual links or images inside it? If you want clicks on the entire component, you should be looking for just plain MouseEvents -- this component should work exactly the same as any other component. It is only if you are trying to get events on individual items inside the text (for instance, a rollover on a link) that you should need the FlowElementMouseEvent.
Thanks for the answer. First I need clicks anywhere in the RichEditableText (no links or images). I use the selection manager to find the exact word that was clicked.
The next step would be to capture clicks on links and images.
I have tried using MouseEvent and had the same result (or worse) as FlowElementMouseEvent. I will go back and retest with your suggestion.
Result of retest:
I catch clicks only over images embedded in the TextFlow. I catch only mouse up/down over text - both MouseEvent and FlowElementMouseEvent.
Puzzling. Where are the clicks going?
I get MouseEvent.CLICK on specific elements of the text by adding listener to: yourRichEditableText.textFlow, and then detect which element was clicked by: event.flowElement.id