Flash + Chrome = keyboard lock?
In one of my flash projects I come across a strange error. Flash Player in Google Chrome blocks some system keyboard shortcuts. For example, such as Alt + Shift and Ctrl + Shift are the standard language layout switches bindings.
This is a very big problem for my project because I need multilingual user input.
Can anyone help me with this problem?
source to share
This is because Chrome sends CTRL + A and ALT + A to Flash, so the input first selects all the text and then replaces it with ALT + A (which is a Polish letter).
The solution in Flash is to listen for input and key events in the textbox, and when you encounter alt + ctrl, just reset the cursor position in the input textbox.
We used it at MyWebzz.com - a website builder service
A class you can use to solve this problem, and a little more information about the problem can be found in our blog About Chrome and Flash Player ALT + error
source to share