Tag Archives: videoObject

Clearing the video on a Spark VideoPlayer control in Flex 4

In a previous example, “Clearing the video on a Spark VideoElement control in Flex 4”, we saw how you could clear a Spark VideoElement control’s video stream in a Flex 4 application by calling the clear() method on the VideoElement instance’s videoObject property.

The following example shows how you can clear a Spark VideoPlayer control’s video stream in a Flex 4 application by calling the clear() method on the VideoPlayer instance’s videoElement.videoObject property.

Full code after the jump.

Continue reading Clearing the video on a Spark VideoPlayer control in Flex 4

Clearing the video on a Spark VideoElement control in Flex 4

In a previous example, “Clearing the video on a Flex VideoDisplay control”, we saw how you could clear a VideoDisplay control’s content using the videoPlayer property in the mx_internal namespace.

The following example shows how you can clear a Spark VideoElement control’s video stream in a Flex 4 application by calling the clear() method on the VideoElement instance’s videoObject property.

Full code after the jump.

Continue reading Clearing the video on a Spark VideoElement control in Flex 4