function onPlayerHit(event) { trace(event.noteType); }