----------------------------------------------
PLAYING AVI,MOV,MPG... files in Clarion4 apps!                VII.1998
----------------------------------------------

What are the mci commands to playback AVI movies in C4 ?

AVI files can be played with mci commands.
Consult the documentation on mci commands provided by Microsoft for further information. 
Here are the some commands dealing with AVI:
------------------------

To determine if you can use AVI. This returns true if AVI can be used, false if not:
'capability aviVideo can play'

To open an AVI file:
'open <pathname> alias movie parent <windowHandle> style child'
pathname - file to play
windowHandle - TARGET{prop:handle} (short)
style - child, overlapped, popup   (overlapped is default)

Prepare window:
'put movie window at 1 1 60 90'
window position and dimension

Try this:
'put movie destination at 1 1 30 50' 

Try this:
'put movie source at 10 10 30 50'

To play the AVI file:
'play movie' or 'play movie from 1' or 'play movie from 1 to 50' or 'play movie reverse'

To close the AVI file:
'close movie' or 'close all' 

------------------------
EXAMPLE IS AviTest.app !!!

AUTHOR: Josko Radic
        Planciceva 14
        21000 Split
        Croatia

        E-mail: jrst98@yahoo.com

