Flash CS3 [as2]. masking prob

Hi Friends,
I’m Anand, fresher to as2. I want to do masking, which should appears as camera shot. Plz find the link below, which i want to do exactly.

http://www.addictinggames.com/vanessanaughtypics.html

here it is done in as3, i want to do that in as2.

Please help me.:puzzled: