2 events

im trying to get this thing to run two events at a time like this

onClipEvent(keyUp){
onClipEvent(enterFrame){
}
}

like that but with an action in the middle but it says theres an error in it.

does anyone know how to do that