I want to trap CRTL+S keys and it wont work !!!
But if I use this code, for trapping CRTL+7 it works fine !
[FONT=Courier New][SIZE=2][COLOR=Blue]var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
[INDENT]if (Key.isDown(Key.CONTROL) && Key.getCode() == 55) {
[/INDENT][INDENT] trace(Key.getAscii());
[/INDENT]}
};
Key.addListener(keyListener);[/COLOR][/SIZE][/FONT]
What’s the reason, the only diference is in Ascii code of character (55 for 7 and 83 for S) ?
Thanks