COOLEST Flahs animation thingy I have ever seen!

How was this animation made. I think its REALLY COOL.