Pools of squares

I want to make a game with a effect similar to the Pool of Squares sample movie…

but I want when a “box” movieclip HitTest the Pool of squares then the squares will play.

I tryed using this code:

OnClipEvent(Load)
If root.box HitTest(.root.Square)
Telltarget (Square)
gotoAndPlay (2)

I have named all the squares the same name “Square”

oh my, i made that tutorial so long ago…

so what exactly is this game gonna be? i don’t quite understand from your details.

god I hate flash it hard enought putting code…

the flash program half the time dosen’t let me add the code I want…

I just wat the squares to appear when an object hitTest them…

How can the object hitTest them if they’re supposed to appear afterwards??