# (Key.isDown(Key.CONTROL)) w/ OTHER keys

**URL:** <https://forum.kirupa.com/t/key-isdown-key-control-w-other-keys/33558>\
**Category:** flash\
**Created:** [October 21, 2003, 1:43am UTC](https://forum.kirupa.com/t/key-isdown-key-control-w-other-keys/33558 "2003-10-21T01:43:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elion](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@elion](https://forum.kirupa.com/u/elion)\
**Post date:** [October 21, 2003, 1:43am UTC](https://forum.kirupa.com/t/key-isdown-key-control-w-other-keys/33558/1 "2003-10-21T01:43:19Z")

</div>

I can only seem to get the keyDown command to work only with special keys like Control and all that. How can I have something like “A” work instead? Ⓜ

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 21, 2003, 2:12am UTC](https://forum.kirupa.com/t/key-isdown-key-control-w-other-keys/33558/2 "2003-10-21T02:12:50Z")

</div>

(Key.isDown(65))//65 is “a”

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 21, 2003, 2:36am UTC](https://forum.kirupa.com/t/key-isdown-key-control-w-other-keys/33558/3 "2003-10-21T02:36:29Z")

</div>

…Mind explaining how that works? :whistle:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 21, 2003, 4:50am UTC](https://forum.kirupa.com/t/key-isdown-key-control-w-other-keys/33558/4 "2003-10-21T04:50:11Z")

</div>

ASCII, each key has a set number. If you go into a program like word (make sure you have numlock off) and hold down alt and type in a number in the number key pad (on the right han side of your keyboard) you will find it creates a letter or a symbol. I think the numbers are different for flash though. Hope it helps

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 21, 2003, 5:15pm UTC](https://forum.kirupa.com/t/key-isdown-key-control-w-other-keys/33558/5 "2003-10-21T17:15:07Z")

</div>

You could also use this, and then simply change the key:

```auto

Key.isDown(Key.getCode("a"))

```
