[Laszlo-dev] Are there any tricks I should know about lz.embed?
P T Withington
ptw at pobox.com
Fri Jun 5 07:52:48 PDT 2009
I'd like to add a handler to the browser window focus event that will
call into (all) the laszlo apps on the page to a keyboard kernel
routine that I am calling allKeysUp. The idea is that when a browser
window (re) gains focus, we need to clear out any keys that might
appear to be "stuck" (this is for LPP-8056). AFAICT, keystrokes that
take focus away from the browser window, such as Alt-tab, or a command-
key sequence that opens another window, don't see the key up event
(because the browser window no longer has focus).
It looks to me like I can use the existing broadcast mechanism and the
callMethod mechanism to implement this. I'm just wondering if there
are any 'gotchas' I need to watch for when fiddling with embednew.js.
Are there any tricks to getting the browser to load the new version?
Do I have to do anything special to deal with DHTML vs. SWF apps?
Thanks for any guidance you can give!
More information about the Laszlo-dev
mailing list