Blinking 3 LED's with one button using mills instead delays

Agreed, code tags are pretty much a must. And probably you should fix your layout (indentation).

Anyway, where is nextBlink declared?