Sync main Flash timeline with cue points in Flash video
Posted on 2008-11-13
I have a Flash video with a cue point at the beginning (vidStart) and a cue point at the end (vidEnd). The main timeline starts with a static graphic over the video; when the user clicks Play, a listener object hears "vidStart" and moves to frame 2 of the main timeline, where the graphic no longer covers the video.
At the end of the video, the listener object hears "vidEnd" and advances to frame 3 of the main timeline, where there is another static graphic and some buttons. So far so good.
THE PROBLEM --- I need to use a Flash Video Playback component that includes the SEEK function, but using seek causes Flash to lose track of where the video is and what graphic should be displayed. I need to be able to track where the playhead is, or at least whether the video is playing or not, so Flash knows what graphics should be shown at the point to which the user seeked. sought. whatever. :) Any ideas?