PDA

View Full Version : Stupid IDE problem



Dark Viper
May 2nd, 2007, 12:48 PM
There's probably an easy answer to this one. When I use code like this :


stage.addEventListener(KeyboardEvent.KEY_DOWN,keyP ressed);
function keyPressed(event:KeyboardEvent):void {
trace(event.keyCode);
}

and run it in the IDE I find that I can't press keys that are shortcuts to tool items (like 'v' for the pointer or 's' for the ink bottle tool. Is there any setting that will get rid of this? What am I doing wrong?

Dark Viper
May 2nd, 2007, 01:18 PM
Found the solution:

in the SWF window Control > Disable Keyboard Shortcuts