I have a Flash CS5.5 program that I'm trying to publish to Adobe Air (2.6 that comes with Flash cs5.5), but not everything works. One of the exercises uses the spacebar or the mouse. Mouse works, space bar doesn't. But if works perfectly if published with a Flash projector. What do I do?
I still have the problem, but there's more info now. I have the program set up to start in full screen mode. Space bar doesn't work. But if I click on a button I've made to take it back to not full screen mode, then the space bar works. What's happening?
OK, I figured it out. In air, if you want to use the keyboard, the command for full screen has to be:
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE
without _INTERACTIVE if works fine in a flash projector, but not in Air.