Archive for January 22nd, 2008

22
Jan

Detecting changes in a camera’s activity and status in a Flex VideoDisplay control

In a previous example, “Displaying a webcam’s video in a Flex VideoDisplay control”, we saw how to connect to a user’s webcam, if they have one installed.

In the following example we see how to listen for the Camera object’s activity event and status event, using some good ol’ ActionScript.

Full code after the jump.

Continue reading ‘Detecting changes in a camera’s activity and status in a Flex VideoDisplay control’

22
Jan

Displaying a webcam’s video in a Flex VideoDisplay control

The following example shows you how you can display a user’s webcam feed in a VideoDisplay control using the static Camera.getCamera() method and VideoDisplay class’s attachCamera() method.

Full code after the jump.

Continue reading ‘Displaying a webcam’s video in a Flex VideoDisplay control’