Thanks for responding, Sam.
Actually, the consensus I am finding is that this is a general Mozilla issue. Some think it is related to setting wmode to transparent but I find these results with any setting. As I said, it works fine in IE. Don’t know yet about Opera or Safari. I am looking to find anyone that has found a solution to this problem.
I did find one site in which someone had apparently solved this but it involved about three pages of Javascript code and I’m looking for something a little easier than that.
Actually, I tried with opaque/transparent/window and no setting at all. No differences.
Aran, at the bottom of the code in my original post you will find:
swfobject.addDomLoadEvent(function() { document.getElementById("app").focus(); });
where “app” is the DIV container where the swf is loaded.
This is the solution for setting focus suggested all over the web regarding swfobject 2.0 and it works fine in IE.
Did you mean something else?
That’s quite clever, Aran. Hadn’t thought of that. Curious that it doesn’t work in the other browsers.
FYI, Aran, it does not seem to be required to set “onkeydown=swf.focus()”. I found that doing “swf.focus()” in the onload event is sufficient. It looks clearly like you are correct—the addDomLoadEvent handler is being called too early.