Videos

Post your coding questions such as 'how to' here.

Videos

Postby O.Mago.O » Tue Jan 19, 2010 11:43 pm

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.
O.Mago.O
Newcomer
 
Posts: 2
Joined: Fri Aug 07, 2009 1:56 am

Re: Videos

Postby ristis » Wed Jan 20, 2010 12: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
Image Minecraft alpha -serveri @ karpsu.alakerta.org
User avatar
ristis
Moderator
Moderator
 
Posts: 91
Joined: Sat Sep 08, 2007 3:32 pm
Location: Espoo


Return to Problems

Who is online

Users browsing this forum: No registered users and 1 guest