Tag Archives: cuePoint

Listening for cue point events on a Spark VideoPlayer object in Flex 4

In a previous example, “Viewing a video’s cue points using a Spark VideoPlayer control in Flex 4”, we saw how you could view a video’s cue points using a Spark VideoPlayer control in Flex 4 by listening for the metadataReceived event and then inspecting the VideoEvent object’s metadataInfo.cuePoints property.

The following example shows how you can detect cue points on a Spark VideoPlayer object in Flex 4 by listening for the cuePoint event on the Flex VideoPlayer object’s inner VideoElement object and then using the mx_internal namespaced fl.video.VideoPlayer object.

Full code after the jump.

Continue reading Listening for cue point events on a Spark VideoPlayer object in Flex 4

Creating ActionScript cue points with the VideoDisplay control

A simple example of creating and using ActionScript cue points with the VideoDisplay control. The example uses a VideoDisplay control to display the progressively downloaded video, a ProgressBar to display the amount of video that has played back, and two DataGrid controls to show ActionScript cue points and embedded cue points.

Full code after the jump.

Continue reading Creating ActionScript cue points with the VideoDisplay control