This Flex 4.6 project is demonstrating how to mask one BitmapData with another BitmapData.