Previous  Next


status = VIDEO.Play( nControl  AS INTEGER,

                     direction AS INTEGER  ) AS INTEGER



Starts or stops playing the current file in the Video Control.  Direction can be forward (1), reverse (-1) or stopped (0).  Returns the current direction or stopped (0).


The following constants have been define in MyBASIC2_MaxTRAQX.BAS


' Play Direction Constants

CONST MT_Stopped       = 0

CONST MT_Forward       = 1

CONST MT_Reverse       = -1




VIDEO.PlaySpeed( nControl, MT_Fast )

VIDEO.Play( nControl, MD_Forward )

' Wait until done

CALL WaitKey

VIDEO.Play( nControl, MD_Stop )