Videos

Post your coding questions such as 'how to' here.
Post Reply
O.Mago.O
Newcomer
Posts: 2
Joined: Fri Aug 07, 2009 2:56 am

Videos

Post by O.Mago.O » Wed Jan 20, 2010 12:43 am

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.

User avatar
ristis
Moderator
Moderator
Posts: 101
Joined: Sat Sep 08, 2007 4:32 pm
Location: Espoo
Contact:

Re: Videos

Post by ristis » Wed Jan 20, 2010 1:48 am

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

Jerrold
Newcomer
Posts: 1
Joined: Sat May 06, 2017 6:37 pm

Re: Videos

Post by Jerrold » Sun May 14, 2017 12:16 pm

O.Mago.O wrote:Hello...

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

Can you help?

In advance thank you very much.
Magician.
You mean have it on a loop?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests