How did they do this?

http://www.easybit.it/flash2005/main.php?language=eng

the part where all the squares come to build the menu box… can someone please help me with this? i am trying to acomplish the same effect with loops and lineTo but am having some real problems… also controlling the square individually after they are made dynamically… thanks so much

-frankf