A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Video (flv) question

  1. #1
    Senior Member
    Join Date
    Jan 2002
    Posts
    121

    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
    www.aspetersen.de
    Enabling you to communicate across cultures

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    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

  3. #3
    Senior Member
    Join Date
    Jan 2002
    Posts
    121
    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
    www.aspetersen.de
    Enabling you to communicate across cultures

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center