Playing .avi files

Blitz3D Forums/Blitz3D Beginners Area/Playing .avi files

Anybody know whcih command I use to play .avi files, or does Blitz support palying any movie or animation file.

f=openmovie("example.avi")

while movieplaying(f)
   DrawMovie f    ;,[x,y][,width,height]
wend

closemovie(f)
flip

and from the help files:

Movie support relies on DirectShow, so you will need to ensure the correct drivers are installed. This command will open GIFs as well as AVI and MPEG movie files



Thanks Rimis,
Is this a Blitz3D command, or a DirectX API?

try this link

http://blitzbasic.com/b3ddocs/command.php?name=OpenMovie&ref=2d_cat#comments

Thanks tiler, or should I call you Dave?

probably tiler...then i know you mean me,theres that many Daves about were every where :)

-Edit- forget it - I'm goin mad!