I am using an ExternalInterface call on activate from a flex application embedded within my html document. The call goes to a javascript function which does
function documentFocus() {
this.focus();
}
Everything works like a charm, except that Firefox does not focus the document body 100%. It stops listening for onkeyup events (it still registers onkeydown).
Very odd behavior. Does anyone have a clue what is happening?
Try it here: http//www.willemdemmers.com/dplxr/
Steps to reproduce: Try arrow-buttons to see normal behavior (arrow images light up red on keydown and stop light on keydown) Click the flash at the bottom of the window to remove focus from the document body and invoke the function call. Try the arrow-buttons again and see the new behavior.
The key-events trigger from the arrow-keys (left and right).
Thanks!