Hello,
I am having an issue with setting CuePoints in a FLV that is not natively FLV. My code works on files that were exported directly from AfterEffects to .FLV. However, some of the video files I am working with are originally .MOV files. When I pass them through either Adobe or Flash Media Encoder, the CuePoints are not recognized. It seems very strange. Does anyone know of an issue here?
Here is the code, although the code works perfectly with native FLVs, so I don’t think that is the problem. I’ll put it on here just in case.
myFLVPlayBack.onRollOver = function () {
playHover.gotoAndPlay(2);
}
myFLVPlayBack.onRollOut = function () {
playHover.gotoAndPlay("mid");
}
myFLVPlayBack.onPress = function() {
interview = 1;
myFLVPlayBackBig.contentPath = "ross_andel.flv";
myFLVPlayBackBig.addASCuePoint(interview1End,"endCue1");
myFLVPlayBackBig.seek(interview1Start);
myFLVPlayBackBig.play();
watch.gotoAndStop("start");
}
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
if (eventObject.info.name == "endCue1") {
trace("cue point reached at: " + eventObject.info.time);
myFLVPlayBackBig.stop();
watch.gotoAndPlay(2);
}
};
myFLVPlayBackBig.addEventListener("cuePoint", listenerObject);
Any help would be greatly appreciated!
-44