One other thing to check - and I had this problem myself - Increase the zoom view of the timeline to its highest and scroll along your video, You might notice blank frames at the beginning or end of each scene and that's what causes the flashing. Remove the extra frames and the flashing should be solved.