You should be pressing the button that is strong against the incoming symbol at the right time (so sword beats bow, bow beats magic and magic beats sword)
Okay, I understand. I also want to ask how to find the remaining two boxes in this level. Is it due to the perspective issue? I don't see how to proceed to the next step and open them