Weird filckering using pageflip code

I’m using this pageflip code in a project. Everything works fine when the wmode of the Flash object is opaque but when I change it to transparent there’s a weird bug. When clicking to turn the page (rather than dragging) the MovieClip which contains the pageflip code appears to flash on and off before the page turn starts.

Has anyone else used this code and come across the problem?