>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???
I believe that it is probably working fine - but in the flash ide, when testing, you need to disable the keyboard shortcuts - click on Control ---> Disable Keyboard Shortcuts in your preview window. jimboF _______________________________________________ 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