How do I listen for all keyboard events?
I want to monitor keystrokes and get most through the following code but do not get the enter key event. The enter key inserts a line into the textFlow but no event is passed to my listener. Is this a bug or do I need to listen for some keyboard events another way?
var compSprite:Sprite = new Sprite();
compArea.rawChildren.addChild(compSprite);
textFlow1 = TextFilter.importToFlow(markup, TextFilter.TEXT_LAYOUT_FORMAT);
textFlow1.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGED, refreshFlow);
contr = new ContainerController(compSprite, compArea.width, compArea.height);
var undoMgr:UndoManager = new UndoManager();
compEditMgr = new EditManager(undoMgr);
textFlow1.interactionManager = compEditMgr;
compArea.addEventListener(KeyboardEvent.KEY_DOWN, compKeyDown); // Capture for Tab and navigation processing
textFlow1.addEventListener(CompositionCompletionEvent.COMPOSITION_COMPLETE, composeListener);
textFlow1.flowComposer.addController(contr);
textFlow1.flowComposer.updateAllControllers();
