# Stupid IDE problem

**URL:** <https://forum.kirupa.com/t/stupid-ide-problem/224458>\
**Category:** flash\
**Created:** [May 2, 2007, 3:48pm UTC](https://forum.kirupa.com/t/stupid-ide-problem/224458 "2007-05-02T15:48:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dark\_Viper](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dark_viper/32/3568_2.png) [@Dark\_Viper](https://forum.kirupa.com/u/Dark_Viper)\
**Post date:** [May 2, 2007, 3:48pm UTC](https://forum.kirupa.com/t/stupid-ide-problem/224458/1 "2007-05-02T15:48:17Z")

</div>

There’s probably an easy answer to this one. When I use code like this :

```auto
stage.addEventListener(KeyboardEvent.KEY_DOWN,keyPressed);
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?
