Flash interface using remote control

Im using an ATI Remote Wonder, and tried using this actionscript:

onClipEvent (keyDown) {
if (key.getCode()==34) {
_root.output = “The Control key is down!”;
} else {
_root.output = “Not down!”;
}
}

to assign keycodes for the remote control. Problem is, the up,down,left and right dont seem to work. Also tried this actionscript but it only recognizes number codes and thats it.

onClipEvent(keyUp) {
trace(Key.getCode());
}

What am i doing wrong? Is there something i missed? We are planning on presenting a prototype interface of an interactive TV, so remote control will be the only device that will explore the interactive interface.(no mouse and keyboards here)

Thanks