Pressing a key while key38(down) is being held

crouching = false
wp = 65;
MovieClip.prototype.key38 = function() { //down
if (!this.crouching) { //if crouching is false
if(???){//attack while in crouched state}
}
};

for the part that says “if(???)” i am trying to get it so if the user presses key+wp(key65) it does an event. how do i do it without having to put it inside onClipEvent