CodeMouse92
CodeMouse92

Reputation: 6898

Alt Key Changes Scene?

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)

Upvotes: 0

Views: 131

Answers (1)

CodeMouse92
CodeMouse92

Reputation: 6898

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.

Upvotes: 0

Related Questions