Here's a quick video demonstrating how to use a layer to mask another.

Vimeo:
http://vimeo.com/57107123

Youtube:
http://www.youtube.com/watch?v=1ZgwOJFk1MQ