Creating a music display?

Hello everybody,
on many sites (also on this one I’ve seen a LED display (don’t even know if this is how it’s called) while playing music, which also stops when stop is pressed. Is this just a well done animation or could one also influence the moving of the rectangles to the beat with AS? Does anybody know? (-: