I found a way that works for me in Firefox 16, Chrome 23, and IE 8 (this is where I have tested it so far). Of course, this is a bunch of hacks, so who knows if this will work forever ... but this, of course, does not worsen the situation.
function setFocusOnFlash() {
var flash = document.getElementById("theIdOfTheObjectElement");
flash.tabIndex = 1234;
flash.focus();
}
Firefox, <param name="wmode" value="opaque"> object , focus() . ( Stephen Belanger jquery.flash, wmode; , SWFObject.)
, setFocusOnFlash . Chrome IE setTimeout(setFocusOnFlash, 1) , JavaScript, , . setFocusOnFlash() . , , , , . Firefox ; object ( ), Flash . 250 , , . (, setFocusOnFlash ... , .) , ExternalInterface.call("flashLoaded") -, , Flash/ActionScript, SWF . , SWF , flashLoaded JavaScript HTML-, , . :
function flashLoaded() {
setTimeout(setFocusOnFlash, 1);
}