Código ActionScript :
var myListener:Object = new Object();
myListener.onKeyDown = function() {
if (Key.getCode() == Key.PGDN) {
//seccion_1.prevFrame();
} else if (Key.getCode() == Key.PGUP) {
this.nextFrame();
}
}
Key.addListener(myListener);pero ahora tengo un mando nuevo, el logitech r800, y el código que he puesto no me funciona. He intentado trazar la tecla con esto:
Código ActionScript :
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
trace("DOWN -> Code: " + Key.getCode() + "\tACSII: " + Key.getAscii() + "\tKey: " + chr(Key.getAscii()));
};
Key.addListener(keyListener);pero no traza nada.
¿alguien sabe cuál es el código para manejar este mando?
gracias.
