Ocean wave effect

Hi,

I need to create a 2D like ocean/sea wave effect in flash; where the waves come crashing against the shore and recede back. Can anyone direct me to a link or a tutorial for the same then it would be very helpful.

Thanks
Sanny