Category Archives: VideoDisplay

Displaying a semi-transparent FLV file in an MX VideoDisplay control in Flex 4

In a previous example, “Displaying a semi-transparent FLV file in an MX VideoDisplay control in Flex”, we saw how you could display an FLV file with alpha channel transparency in an MX VideoDisplay control in Flex 3 by setting the backgroundAlpha style to 0.

The following example shows how you can display an FLV file with alpha channel transparency in an MX VideoDisplay control in Flex 4 by setting the contentBackgroundAlpha style to 0.

Full code after the jump.

Continue reading Displaying a semi-transparent FLV file in an MX VideoDisplay control in Flex 4

Setting the background alpha on a VideoDisplay control in Flex

In a previous example, “Setting the background color on a VideoDisplay control in Flex”, we saw how you could modify the background color of a VideoDisplay control in Flex by setting the backgroundColor style.

The following example shows how you can set the background alpha on a Flex VideoDisplay control by setting the backgroundAlpha style.

Full code after the jump.

Continue reading Setting the background alpha on a VideoDisplay control in Flex

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