Have you tried those events in a browser? When you try that in
the flash integrated swf player, you have to Press CTRL, too.
e.g CTRL + Delete
Johan Nyberg schrieb:
For some reason this code doesn't capture all keyboard keys as expected:
var keyListener:Object = new Object();
keyListener.onKeyDown = keyPressed;
Key.addListener(keyListener);
function keyPressed():Void {
trace("foo");
}
All letters and numbers work. Insert and Shift works.. But not Delete,
Home, End, PageUp, PageDown, Enter, etc..
What am I doing wrong???
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com