Im using Flash CS5.5 and I added an input textField to my working iPad app. Focus is set to the input textField and event listeners wait for input. The app with the new feature works as expected in debug mode. When I publish and test on the iPad with an Apple wireless keyboard the typed text shows but the app does not respond.
It is as if the keyboard events are not being triggered after publishing for iOS, but work OK in debug mode.
I tried it with listeners for KEY_DOWN and for TEXT_INPUT. Both worked fine in debug on the PC, but there is no response when I test with the iPad. This is the first time I have used text input on iOS but I'm sure that keyboard events on iOS normally work and my code works in debug mode. Any suggestions on what to check would be very much appreciated. MB
I tried a simple test case with just a textField and it works in the debug emulator but not on the iPad. Are text input events not supported by AIR for iOS? MB
I changed the listener to addEventListener (CHANGE, keyInputCheck). This seems to work OK on the iPad for detecting a key pressed on an external or virtual keyboard. MB