指定のキーが押されているか調べるには
onClipEvent(enterFrame) {
if (Key.isDown(Key.LEFT)) {
if (Key.isToggled(Key.CAPSLOCK)) this._x -= 10;
else this._x -= 5;
} else if (Key.isDown(Key.RIGHT)) {
if (Key.isToggled(Key.CAPSLOCK)) this._x += 10;
else this._x += 5;
}
}

説明などは本書を参考にしてください。