BitmapData.alphaMask will draw the given image onto a BitmapData using an image as an alpha mask.