rob had an example in the code archives, misc 3d, it was a link to a "movie3d.zip", but the link is broken now.
ok here's a quick sample that should work on most machines:
; playing a movie in a texture
Graphics3D 640,480,32,2
SetBuffer BackBuffer()
camera=CreateCamera()
TranslateEntity camera,0,0,-4
light=CreateLight()
RotateEntity light, 45,45,0
cube=CreateCube()
tex=CreateTexture(256,256,256)
EntityTexture cube,tex
movie_file$="test.avi"
movie=OpenMovie(movie_file$)
While KeyDown(1)=0
dummy=DrawMovie(movie,0,0,256,256) ; here you can scale the movie to the texture size most efficiently
CopyRect 0,0,256,256,0,0,BackBuffer(),TextureBuffer(tex)
If MoviePlaying(movie)=0 Then
CloseMovie movie
movie=OpenMovie(movie_file$) ; reload when finished = loop
EndIf
TurnEntity cube,.2,.4,.6
RenderWorld()
Flip
Wend
CloseMovie movie
End