Animated squares reveal effect

I need to create cool effect using squares to reveal an image underneath see attached. I have Flash CS3 and Photoshop CS3 and After Effects CS3 at my disposal. I have a little experience with each program. Any help appreciated.