This is code, that immitates the hard page flip effect on Starling game framework. Got this from NeoGuo, he made the code, I just tried to adjust it on my project.