Hi all,
Thanks a lot for your coding.
To play the movie once with no skipping frame...
(It seems that "graphics3d" must be used in playing movies)
Thanks
Sammy
:)
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
:)