Hi-
I have a FLV coming into a FLVPlayback component. This component is on placed on frame 1.
When it stops, I would like the timeline to advance to frame 2 (where I have new content).
However, this doesnt happen and the video hangs and stops on the last frame of the FLV.
I’ve added a cue point on the last frame of the FLV called “end”. I thought the following code would work by detecting the cue point and going to frame 2, but it doesn’t? Can anyone help me?
stop();
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
var cuePtName = eventObject.info.name;
if (cuePtName == "end") {
gotoAndStop(2);
}
};
Also, should I be setting up some type of preloader on the FLV or the entire timeline? I’d like the video to start playing immediately (as I’ve chosen no component skin), but I want to avoid glitchy stop/start playback. Is there a way to be loading new content somehow while the first part of the movie starts playing?
Thanks so much. I really need help with this.