|
-
Video (flv) question
Hi guys,
I haven't really tinkered with videos in KM yet, so maybe some of you who are more knowledgable in the area could give me a hint whether the following is possible:
Let's say I have a fun file with 2 movie clips. In the first movie clip I play a flv video. The second movie clip consists of various key frames.
I basically want to synchronize the movie of a speaking person in one MC with "slides" I show in the second MC.
Now, when the flv in the first MC plays, is there a way to trigger the second MC to start/stop based on something like "cues", or at least a time/frame position in the flv? Are there suitable events for this?
Would anyone know if that's possible?
Thanks in advance for any pointers,
Stephan
-
KoolMoves Moderator
Here's what I've done to check the position of the video, I used it to determine the end of the video as the NetStream.Play.Stop event was delayed in player 7.
So you can do this to track the position and act accordingly
time_interval = setInterval(checkTime, 500);
function checkTime() {
end=Math.floor(flv1.netStream.duration)-Math.floor(flv1.netStream.time);
if (end==0){
clearInterval(time_interval)
}//end if
}//end check time
-
Hi Bret,
thanks for your reply.
Do you happen to have a sample project that shows where you put the AS code?
All the best,
Stephan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|