I was trying to apply a spotlight effect on a google map application. Specifically, I draw a circle that follows the mouse and set it as a mask over the map. The problem is
To use alpha masking you need to do the following:
i.e. googleMap.mask = alphaMask;
That should do it.