You use a mask in Flash to control what is viewable on a layer. Whatever you paint or draw onto a mask layer defines the viewable area on any layer it is linked to. Essentially, the shape you place on the mask layer acts like a window to the layers linked beneath it.