header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Liran
Points:0
Posts:0

8/26/2010 6:09:45 AM

Title: AIR not detecting keypress?


Hey
I had an old version of air which loaded an swf that runs as2 using as3
The as2 swf included keypressing and regular as2 stuff.
I just installed the new version of air and exported the AIR file again
Keypresses don't seem to work
any idea how to fix this?
Thank you.



1
Rex
Points: 1280
Posts:0
8/26/2010 6:55:26 AM



have you changed the AIR compiler , just updating the AIR framework should not have such effect.

It can be focusing problem also . The keypress event id received only if the object if having focus. Like if a textbox is having focus only then it will fire the keypress event. For global keypress events you need to attach the event listener to stage.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 5+5 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions