QMedia Movie area commands

QM_SetLooping

QM_SetLooping(areaRef; loopInfo):error
areaRef Longint Movie area reference
loopInfo Longint Movie looping info
error Longint Error result

Sets the looping property of the movie controller in a movie plug-in area.

The controller's looping propery defines how the movie assigned to the area will be played:

The movie plug-in area is specified by areaRef and the looping information by loopInfo.

QMedia defines the following constants for specifying looping options.

qm_NoLooping 0 No looping. The movie plays from start to end and then stops.
qm_NormalLooping 1 Normal looping. The movie plays in a continous loop from start to end.
qm_PalindromeLooping 2 Palindrome looping. The movie plays continously from start to end, then backwards from end to start and so on.

Example

  `Set plug-in area xMovieArea to play current movie repeatedly
 
$error:=QM_SetLooping (xMovieArea;qm_NormalLooping)
 

Related commands

QM_GetLooping Returns the looping property.

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