Question

I have an Adobe AIR 3 application. For some reason, anytime I press the Alt key in the application, it swaps to the next scene (or if at the last scene, it goes to the first). I can't have this in my application, and I never programmed it in. How do I get rid of this functionality? (I'm using Flash Professional CS5.5)

Was it helpful?

Solution

I solved it. On the first scene, I had created an event listener for any key press to skip to the next scene. I realized that after pressing the spacebar and getting the same result. To fix that, I added removeEventListener() into the event function. Problem solved.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top