Loader::GetMovieInfo

Loader::GetMovieInfo
bool GetMovieInfo(const char* pfilename, MovieInfo * pinfo, bool getTagCount = 0, unsigned loadConstants = LoadAll);
Description

GetMovieInfo obtains information about SWF file and checks for its availability. Returns 1 if the information was obtained successfully (or was null, but SWF file existed), or 0 if it did not exist. 

Usually GetMovieInfo will need to read only the file header to extract the required information. If the movie is already in the resource library and the file was not modified on disk, no loading will need to be done.

Parameters
Parameters 
Description 
const char* pfilename 
File name of SWF file from which information is being retrieved. The file name should be encoded as UTF-8 to support international file names. 
MovieInfo * pinfo 
Pointer to MovieInfo which receive the information about the SWF file. 
bool getTagCount = 0 
Specifies whether tag count will be retrieved (1) or not. Obtaining the SWF tag count is relatively expensive because it requires the entire file to be parsed. 
unsigned loadConstants = LoadAll 
Flags used to control loading. 
Return Value

A Boolean value of 1 if information is obtained, otherwise 0.