Problem with keys

I am remaking a way to configure my site (looks like the command prompt interface Start>Programs>accossories) and ive got all the regular code down but i need a way to make the blinking “_” …thing move, but the is down code doesnt becuase it doesnt move at the same time i hit the z key. it just keeps moving to right like 30 pixels at a time on one click. so is there like a onup for an if statement?

// z x y
if (Key.isDown(90) or Key.isDown(89) or Key.isDown(88)) {
_root.Blinky._x += 10;
}

please help

there are a few ways to do this bu try

Blinky.onEnterFrame = function() {
if (Key.isDown(90) or Key.isDown(89) or Key.isDown(88)) {
this._x += 10;
}
};

no i cant do that isdown becuase of what im doing it wont work but thanks, thats aboutthe same way im doing it now, i think ive found a way to do it so you dont have to reply back