My mask is inversed... help

Hey guys,
this should probly be an easy to answer question for all the pros out there. I am trying to create a mask, exactly similar to the one in the flashlight demo. I am using the same "mask" graphic thats in the flashlight demo, when i create my mask, rather than the center of the mask being clear, its darkened, and outside the mask is visible, so it seems to be inversed, here is my code, any help would be great!

1
2
3
4
5
6
7
8
9
10
M.underGroundFilter = display.newRect(0,0,800,500)
M.underGroundFilter:setFillColor(0,0,0)
M.underGroundFilter.x = midX
M.underGroundFilter.y = midY
M.displayFilterGroup:insert(M.underGroundFilter)
 
M.underGroundFilter:translate( halfW, halfH )
 
local mask = graphics.newMask( "circlemask.png" )
M.underGroundFilter:setMask( mask )
views:1647 update:2011/12/1 20:56:45
corona forums © 2003-2011