Page 1 of 1

Videos

Posted: Tue Jan 19, 2010 11:43 pm
by O.Mago.O
Hello...

How to make a video to watch it again after having finished. I mean the video running forever.

Can you help?

In advance thank you very much.
Magician.

Re: Videos

Posted: Wed Jan 20, 2010 12:48 am
by ristis
Hi.

You can use AnimationPlaying() to check whether the video is running or not.

Code: Select all

video = PlayAnimation("video.avi")
Repeat
    DrawAnimation video
     
    If AnimationPlaying(video) = 0 Then video = PlayAnimation("video.avi")
    
    DrawScreen
Forever