[LEFT]
Hi I’m working on a project that requires me to sync keyframe animation on top of a FLV …
I’m using stream.time to calculate current frame of the flv and manually changing current frame of the keyframed movie to sync the two together on enterframe event.
but i’m finding its not exactly the same, sometimes it goes off sync.
private function videoEnterFrame( e : Event ) : void {
var streamTime:Number stream.time;
streamFrame = Math.round(streamTime*24);
motion.gotoAndStop( streamFrame );
}
videoEnterFrame is attached to my video objects ENTER_FRAME event.
24 is the framerate of the flv video.
I’ve set the swf frame rate to be the same.
does anyone have another method that they can suggest .
cheers thanks in advance
[/LEFT]