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.

Hi all,

Thanks a lot for your coding.

To play the movie once with no skipping frame...
Graphics3D 800,600

Global movie1
Global file1$="c:\windows\clock.avi"
movie1=OpenMovie( file1$ )
If movie1=0 RuntimeError "Unable to open movie file"

While Not KeyDown(1)

	DrawMovie movie1,36,26,175,150
	If  MoviePlaying (movie1)=0 Then 
            ;----- if you want to play once only
		End
            ;----- if you want to play continuously, uncomment the following
            ;CloseMovie movie1
            ;movie1=OpenMovie( file1$ )
	EndIf

	Flip False

Wend
CloseMovie movie1

End

(It seems that "graphics3d" must be used in playing movies)

Thanks
Sammy
:)