check this property
pass bandWidth = 0 and quality=100 for the best quality for the Camera.
var cam:Camera = new Camera();
Hope this helps
The above setting will set the maximum bandwidth and best quality image. Above this, if the quality of the webcam is bad, that cannot be improved using flash.