This code example allows you to invert a mask using blend modes in Action Script 3.
SOURCE CODE for this example can be found here.