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???
--
Johan Nyberg
Web Guide Partner
Sergels Torg 12, 8 tr
111 57 Stockholm
070 - 407 83 00
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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