Hi
I am trying to detect up and down button events in flash lite 2.1 using AS 2
but it's having problems when testing on a P905i phone.
The basic code is:
keyListener.onKeyDown = function() {
if (Key.getCode() == Key.UP){
scroll_up();
}
if (Key.getCode() == Key.DOWN){
scroll_down();
}
}
Key.addListener(keyListener);
On the P905i the key code being returned is 9 for up and down, all the other
keys function as normal, Does anyone know anyway to fix this?
Thanks
-Dan
Received on Fri Jun 27 09:44:32 2008