Problem with a seek function on a button, I would like a skipping backwards function with the latest media player component, am not able to see why the below doesent work.
interestingly though the traced playheadTime is skipping back ! but it doesnt actually go back in the video..Code://add a cue point for (var a = 0; a<10; a++) { video1.addCuePoint("cue"+a, a); video1.setFLVCuePointEnabled(true, "cue"+a); } //video1.addCuePoint("cue0", 0); //video1.setFLVCuePointEnabled(true, "cue0"); backBttn.onPress = function() { trace("time is "+video1.playheadTime); //video1.seekSeconds(time:Number) video1.seekToPrevNavCuePoint(video1.playheadTime-1); //video1.seekToNavCuePoint("cue0"); };![]()




Reply With Quote