Copy link to clipboard
Copied
What is the best approach to handling key events (listening for keys being pressed)?
Are there any widgets out there for this purpose? Just do it in JavaScript?
Thanks
Copy link to clipboard
Copied
The best 'approach' for key events in Captivate e-learning courses is to avoid them as much as possible. They are a can of worms because every browser is different in terms of which keystrokes it will allow you to use. So you may find that you can use certain keystrokes in one browser but only some of them will work in another.
Widgets are not the answer because they are ActionScript and AS calls are close to the bottom of the pile. JavaScript will also only get you so far because even that happens AFTER the browser gets first pick.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now