mmpSetTempo

Syntax

BOOL mmpSetTempo(idMovie, nTempo)

This function changes the tempo value for the Movie Player instance.

Parameters

MMPID idMovie

Identifies the movie ID of the Movie Player instance.

int nTempo

Specifies one of the following tempo values:

1 to 60

Specifies a new tempo rate of nTempo frames per second. The frames-per-second setting continues to the first change-tempo command encountered in the tempo channel.

-1 through -120

Specifies a delay value of -nTempo seconds for the current frame. The Movie Player waits -nTempo seconds before advancing to the next frame.

MMTEMPO_MOUSEWAIT

Specifies to wait at the current frame. The Movie Player pauses the animation until the stage window receives a mouse click or keystroke.

Return Value

Returns TRUE if successful, otherwise returns FALSE.

Comments

If the tempo is locked, the mmpSetTempo command has no effect.

See Also

mmpGetTempo