Clip CCLayer to Show Back Layer

I am trying to clip CCLayer and i want to Clip the front layer with some rounded shape to show the contents of Background layer. The background layer contains some animations. I have tried Masking, but Masking didn’t helped me.
I have attached the screenshot to explain it clearly. Any one know how to achieve this effect?


N44Tl.png (18.1 KB)

Consider using CCClippingNode.