QMedia Movie time commands


QM_SetCurrentTime(movieRef; targetTime):error
movieRef Longint Movie reference
targetTime Longint Target time
error Longint Error result

Sets the current time of a movie.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.

Parameter targetTime specifies the target movie time and must be expressed in the movie's time scale.


  `Rewind movie $movieRef to the beginning
$error:=QM_SetCurrentTime ($movieRef;0)

Related commands

QM_GetCurrentTime Returns the movie's current time.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:40:33