hi there,
I'm hoping that you mean you would like to control a movieclip with a keyboard button instead of the other way around.
In this case, what you need is a keyboard listener on your movieclip.
first you add the listener and pass in the name of the handler you will write
Code:
addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
then, you write the handler and you're good to go.
Code:
function keyDownHandler(event:KeyboardEvent):void
{
if(event.keycode == 86) //looking for a 'v' button to be pressed
{
//do awesome stuff here!!
}
}