I would like to write a flipping effect with Cocos2d-x, is there any sample code?

I would like to write a flipping effect on a e-book program. Is there any sample code?
Thanks

You can read the code of TransitionsTest.

Thanks a lot The transition test is a good example.

And another question, if I want the picture flipped followed by the finger slide(left/right), what sample should to read?

Read the test code itself.
You may notice 0.7.2 tests is using finger-scroll up and down with menu items. That’s what you want, just change the direction.

got it
Thanks to Walzer~~