mmpFreeFile

Syntax

BOOL mmpFreeFile(idMovie, wOptions)

This function frees memory associated with a movie file previously loaded by mmpLoadFile.

Parameters

MMPID idMovie

Identifies the movie ID of the Movie Player instance.

WORD wOptions

Can contain the following flag:

MMP_ERASE_FRAME

Clear the stage window.

Return Value

Returns TRUE if successful, otherwise returns FALSE.

Comments

If the movie is currently running, the animation is stopped and the file is unloaded.

See Also

mmpLoadFile, mmpFileLoaded