The following example shows how you can get the array of available cameras in ActionScript by using the static Camera.names property, which returns an array of camera names. You’ll also see how you can get a specific camera instance (in case users have multiple cameras installed, which may be the case if they have a laptop with a built in webcam as well as an external USB/Firewire webcam) by passing a parameter to the static Camera.getCamera() method.
Full code after the jump.
Continue reading ‘Getting specific camera instances using the static Camera.getCamera() method’



