# Detect a CTRL-C key event

**URL:** <https://forum.kirupa.com/t/detect-a-ctrl-c-key-event/249508>\
**Category:** flash\
**Created:** [January 19, 2008, 2:56pm UTC](https://forum.kirupa.com/t/detect-a-ctrl-c-key-event/249508 "2008-01-19T14:56:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayman](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Post date:** [January 19, 2008, 2:56pm UTC](https://forum.kirupa.com/t/detect-a-ctrl-c-key-event/249508/1 "2008-01-19T14:56:05Z")

</div>

Hi Guys

In my application, I need to detect a CTRL-C event. I can detect CTRL-K , CTRL-T , CTRL-U , and a bunch of others, but it seems that CTRL-C is reserved !

First it detects the CTRL , but as long as the CTRL button is held down, it totally ignores C when it’s pressed. I know that there was a key combination detection script here on kirupa offered by someone (Michael), but it has this problem as well.

Any any idea how I can detect this combination?? Here is the code Im using to test which key is being detected (Note that debug is the variable name of a textfield on the main timeline, because testing key combination events inside of flash sometimes causes problems):

```auto
 
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
 var key1 = Key.getCode()
 _root.debug += "key "+key1+"
"
};
Key.addListener(keyListener);

```
