Create a Flash component to snap webcam photos and upload them to server.
## Deliverables
Flash version support: 9+
The interface should be chromless (without any buttons) and resizable.?
Upon detecting the camera, it should be in "preview" mode just displaying live video.
Methods
* snap(delay): performs image capture and continues displaying the frozen image. Delay controls number of seconds that pass between issuing the command and capturing the picture. Countdown can be animated in the flash clients
* upload(url, postparams): performs upload of the captured image to the supplied url, possibly also passing supplied post parameters to the server
Events
* onsnap
* onstartupload
* onuploadsuccess: also returns server response
* onuploadfailure
Communication with the component should be exposed via Javascript.? Player should be embedded in a sample HTML that contains sample buttons SNAP (onsnap changes into RETRY) and UPLOAD. Place a textbox next to the UPLOAD button and submit everything upon clicking it.