Flash Webcam Image Capture
Photo Booth is a tiny open source Flash application that can capture images from a webcam. The script is built with AS3 + PHP5 and can be instantly implemented to any website. The project is now open source.
It can be a great add-on when asking users to upload an avatar or creating a web application around photos. To see how it works, a demo can be found here.