How do i capture the left, right, up, down keys?

Using the example and help in the Flash, I trace the KEY_DOWN state…

 trace("Key Pressed: " + String.fromCharCode(event.charCode) +         " (key code: " + event.keyCode + " character code: "         + event.charCode + ")");

It prints out nothing for the direction keys… am I missing some steps?

Ah… the String.fromCharCode is stopping the rest of the trace for some reason… found it in the keyCode…