Onkeypress , when you hold any key down it keeps play only 1 frame instead of all of

ok, i have 1 mc, a stick figure. when i press right arrow key, it is constantly frozen at frame 21 because it keeps play 21 because i am holding down the right arrow key… u understand? take a look at my action script if you dont follow…

onClipEvent(enterFrame) {
	if(key.isDown(key.RIGHT)) {
		this._x +=5;
		_root.stick.gotoAndPlay(21);
	}
}
onClipEvent(enterFrame) {
	if(!Key.isDown(key.RIGHT) && (_root.stick.ru==1)) {
		_root.stick.gotoAndPlay(42);
	}
}
onClipEvent(enterFrame) {
	 if(_root.stick.ru==2) {
		_root.stick.gotoAndPlay(2);
	}
}

please help im trying to create a game…

if (_root.stick._currentframe == 20)
[INDENT]_root.stick.gotoAndPlay(21);[/INDENT]

look at that, you should see the main concept of it.