A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Video (flv) question

Hybrid View

  1. #1
    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

  2. #2
    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