Flash wave transition

Can anybody give me any ideas on how to make a Flash page transition that looks like a wave. I want it to simulate a wave on the beach. You know with the white foam sweeping across. Any ideas?:-/