Tiles effect

Hi

i’m trying to implement an effect to a JPG in flash, simulating the tiles filter from photoshop with AS2.

Dones anybody has any ideas that could help me?

thanks