Key.addListener() slow?

Hey all,

I think Key.addListener reacts VERY slow. I’m trying to make my character walk, but when I push my key, the character moves one ‘frame’, then it pauses and after half a second he starts moving in a continues rate.

Just like when you’re typing a letter and you hold a key down. First the letter appears on the screen, then it pauses, and after that you get a whole line full of that letter.

I hope I could explain it a little and you know what I’m talking about, cause I can’t explain :stuck_out_tongue:

Here’s a piece of code I’m using with the listener:

// Keys
onKeyDown = function() {
	switch (transport) {
		case ("foot"):

Does anybody have a tip for me on how to fix this, other than the onEnterFrame command?