1 Reply Latest reply on May 2, 2007 2:29 PM by Newsgroup_User

    Testing for end of video

    Level 7
      I've always used code like the following to check for the end of a video
      before moving the play head:

      on exitFrame
      if sprite(2).movieRate > 0 then
      go to the frame
      go to the frame + 1
      end if

      But I've just recently started using swf video files, and the
      "movieRate" function doesn't seem to work. What should I be using to
      test if the video is done playing or not?