QMediaLight Movie time commands

QM_SetCurrentTime

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.

Example

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

Related commands

QM_GetCurrentTime Returns the movie's current time.

QMediaLight © Escape OE
Generated by QDoc 2.8 on Thu, Oct 8, 2009 18:08:38