The effect may also have been achieved by tracing the entire outline of the keyboard in its own layer in the animation. Then, from the final frame, chop bigger and bigger segments off the outline in each previous frame until the first frame has no outline at all and the last one is still complete. When you play it back, the outline will scan across the keyboard.