Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
If your users have webcams or external video cameras connected to their computers, Flash Player will recognize them, and you can use ActionScript to access a live feed from those cameras to work in Flash. You accomplish this using the Camera class in ActionScript. To test the code you are about to add, you (and your users) must have a video camera connected to your computer. Assuming that a camera is available, the code you will now write will take the feed from the camera and display it within the interface of this project. Later in the lesson, you will write code that can take snapshots from this camera feed.
Note
Even though ActionScript will let you or your user choose among multiple cameras if more than one video source is connected, Flash can display the feed from only one camera at a time.