LoadMovie()
Syntax
Result = LoadMovie(#Movie, Filename$)Description
Loads the specified movie file and prepares it for playback.
Parameters
#Movie A number to identify the loaded movie. #PB_Any can be used to auto-generate this number. Filename$ The file name of the movie.
Return value
Returns nonzero if the movie was loaded correctly and zero if loading the movie failed (format not supported or file not found). If #PB_Any was used for the #Movie parameter then the generated number is returned on success.
Remarks
InitMovie() must be called once before loading movies. Further information about the loaded movie can be read with the MovieInfo(), MovieLength(), MovieWidth() and MovieHeight() commands.
See Also
PlayMovie(), MovieInfo(), MovieLength(), MovieWidth(), MovieHeight(), FreeMovie(), InitMovie()
Supported OS
All