video object always gets to beginning when finish

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Neron
    Forum Member
    • Apr 2005
    • 2

    video object always gets to beginning when finish

    hi everyone,

    the video objects always gets back to the beginning(first frame) when they reach the end, even if i set it to pause or to stop on video finish script. It is very irritating because i have to make pause scripts whenever i want the video stop at the end and show it's last frame as normally would be with any video. I have tried almost every codec and adjusted media player to stop video without repeating in case this has something to do with ams5 behavior, but nothing changes.

    Is there a way to avoid this and "really" stop the video at the end showing the last frame?

    everything on my project works fine except this.

    thnks a lot

    neron
  • Intrigued
    Indigo Rose Customer
    • Dec 2003
    • 6125

    #2
    Insert this code in the On Finish section of the Video Object:

    Code:
    Video.Seek("Video1", SEEK_END)
    This will then show the last frame of the video in the Video Object at the completion of viewing such video.
    Intrigued

    Comment

    • Intrigued
      Indigo Rose Customer
      • Dec 2003
      • 6125

      #3
      Here is a project to drive this home.

      (Note "Video1", the name of the default first Video Object... may need to be changed... if you changed the default name of the that Object)

      *There is a 37KB video (.avi) that you can use for testing purposes. It's inside the project's video folder*
      Attached Files
      Intrigued

      Comment

      • Neron
        Forum Member
        • Apr 2005
        • 2

        #4
        Thank you Intrigued, I'm on my way to see the project you gave me.

        Comment

        • Intrigued
          Indigo Rose Customer
          • Dec 2003
          • 6125

          #5
          Let me know how it works out.

          :yes
          Intrigued

          Comment

          Working...
          X