mmpGoToFrame

Syntax

BOOL mmpGoToFrame(idMovie, sNewFrame, wOptions)

This function jumps to a specified frame in the movie.

Parameters

MMPID idMovie

Identifies the movie ID of the Movie Player instance.

short sNewFrame

Identifies the number of the frame to jump to. Frames are numbered starting at 1. This parameter can take a frame number you specify or either of the following flags:

MMP_FRAME_FIRST

Jump to the first frame of the movie.

MMP_FRAME_LAST

Jump to the last frame of the movie.

WORD wOptions

Specifies the following flags:

MMP_DRAW_FRAME

Draw the frame to the stage window.

Return Value

Returns TRUE if successful. Returns FALSE if an invalid frame number is passed to sNewFrame.

See Also

mmpGetCurFrame