I was using this code to play a movie and it worked for a while, and then suddenly stopped. I am sure the movie is in the same dir as the .bb file.
global movie=OpenMovie("movie.mpg")
While MoviePlaying(movie)
SetBuffer BackBuffer()
If KeyHit(1)
CloseMovie(movie)
End
End If
DrawMovie(movie,0,0,800,600)
Flip
Cls
Delay(5)
Wend
CloseMovie(movie)
global movie=OpenMovie("movie.mpg")
While MoviePlaying(movie)
SetBuffer BackBuffer()
If KeyHit(1)
CloseMovie(movie)
End
End If
DrawMovie(movie,0,0,800,600)
Flip
Cls
Delay(5)
Wend
CloseMovie(movie)