What kind of movie file could be played in B3D?

Blitz3D Forums/Blitz3D Beginners Area/What kind of movie file could be played in B3D?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

There is a "end of movie file"-command:
--> If MoviePlaying(movie)=0
returns True if the movie ends or no movie is playing.

If you want to play a movie once try this:
Graphics 640,480
SetBuffer Backbuffer()

If movie=0
movie=OpenMovie("Sample.avi")
Endif

While Not Keyhit(1)
DrawMovie movie,0,0,640,480
If MoviePlaying(movie)=0
End
Endif
Flip
Wend
End