Here's an example that uses masks:
http://willhostforfood.com/files4/98019 ... rsmoke.cap
There are two smoke sprites, one that shows the smoke, and another one that masks the laser. They both have the same image.
You have to use "Force own texture" in the layer properties when you use masks.