u`ll have2 layers. on the second one u`ll have a picture or a shape (ex: the white shape from that site)
on the first layer u`ll have a shape, convert it to graphic and than insert a few frames on wich make a motion tween, that makes the graphic move over the pic. now on the first layer wright click and mask.