sotea
asked on
keylistener doesn't work before textfield has got focus
I have a flash movie with a keylistener on the Enter key.
But initially when loading the flash movie, the keylistener doesn't work.
Only when a textfield have had focus - the keylistener start working.
I have tried putting a 'Selection.setfocus("myTex tField"); in the beginning of the actionscript - but that doesn't help.
Is there a enable the keylistener in another way.
But initially when loading the flash movie, the keylistener doesn't work.
Only when a textfield have had focus - the keylistener start working.
I have tried putting a 'Selection.setfocus("myTex
Is there a enable the keylistener in another way.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://www.experts-exchange.com/questions/21844335/On-Key-Press-troubles.html
BR Dushan