Menu with keyboard navigation problem

Hey, I’m trying to make a navigation menu that primarily uses key presses to work. For example, here’s my initial code idea:

var keyListener = new Object();
var listSelection:Number = 1;

function upPress() {
    if (listSelection < 10) {
        options_mc.slideTo(459, "-63", 0.1, "linear");
        // options_mc._y = options_mc._y - 63;
function downPress() {
    if (listSelection > 1) {
        options_mc.slideTo(459, "+63", 0.1, "linear");
        // options_mc._y = options_mc._y + 63;

keyListener.onKeyDown = function() {
    if (Key.getCode() == Key.UP) {
    } else if (Key.getCode() == Key.DOWN) {

(note: this uses the lmc actionscript tweening classes)

I have 10 items in the list, and basically this works fine for the most part. Press up and the menu slides up 63 pixels (height of one button) when it’s not at the end of the list, and press down and it slides down until you reach the end. and it keeps track of which one is selected. fine. great. but when holding down a key it skips forward but might only move the options list only a few pixels. or if pressing the keys really fast it’ll make the list stop short.

I guess what I’m looking for is how to make this menu list work so they can make a selection through an animated menu using the keyboard. so press up and the list animates up to the next selection, or press up three times fast and it animates up to the fourth option. any help would be appreciated. thanks.