FLV Player button to seek to next cue point (or previous)?
Hello all,
I have a FLV player on my stage linked to a .flv with embedded cue points. (added and exported in an older version of Media Encoder)
I have added the following code, which pauses the player at each of the embedded cue points
import fl.video.MetadataEvent;
player.addEventListener(MetadataEvent.CUE_POINT, fl_CuePointHandler_3);
function fl_CuePointHandler_3(event:MetadataEvent):void
{ player.pause();
}
I would dearly love the back and next buttons on the Skin to have the ability to skip to the next or previous Cue points but they seem to just skip to small increments of time instead.
I can live with custom buttons on the stage that will give the user ability to seek to the next or previous Cue points. Can any one help me with what code would go on these buttons please.
Thanks in advance. 🙂
