The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Keypress event in Safari with Flash in focus

It appears that in Safari, when an embedded wmode=transparent SWF is in focus and the user types something, the keypress event does not fire in javascript. keydown and keyup do fire, but not keypress. And I need keypress because I need to get the charCode, not the keyCode.

This is for the analogcode.com/p/JSTextReader/ (apparently I need more posts to have link-posting priviliges here ) - a workaround for a flash text input bug that also manifests in Safari.

The keypress events do fire in IE and FF when flash is in focus, it's only Safari (3.1.2) that has this problem.

Anyone has any idea on how the charCodes can be captured in js in Safari with flash in focus? I can provide code samples that exhibit that problem...

Posted two bugs to the WebKit Bugzilla: https://bugs.webkit.org/show_bug.cgi?id=20836 and https://bugs.webkit.org/show_bug.cgi?id=20837 (one for the wmode=transparent text input bug, one for the keypress event not firing like in FF/IE).