Hi, thanks for the help, I get 49 in the output window.

Maybe i'm still doing things wrong...

I have an error message that says:

1120: Access of undefined property e.

The code i now have is:

sunvid.flvPlayer.stop();
var ispaused = 0;
stage.addEventListener(KeyboardEvent.KEY_UP, playfile);
function playfile(e:KeyboardEvent):void {
trace(e.keyCode)
}
{
if(e.keyCode==49){
sunvid.flvplayer.play();
}
}

it would be great if you could help me a little more please!