Cancel Keyboard Events


Is there a work around for cancelling a KeyboardEvent?

According to the above link, Adobe state there is no default behaviour and therefore the event will always bubble and Event.stopPropagation and Event.stopImmediatePropagation have no effect. Also, setting the event to null does nothing too.

I am using keyboard navigation (KeyboardEvent.KEY_DOWN) and would like a block certain keyboard events (not all) from reaching the parent container Sprite. Setting bubbles and cancelable have no effect as per the documentation.

I have a custom class that listens for Keyboard events that then dispatches an event into my framework. Event.stopPropagation does work for Keyboard events.