CreateMovie

Creates a movie in AVI format from a FLY project presentation. The recorded movie can be played back using any standard AVI Viewer.

 

JavaScript

 

CreateMovie(

       Name,

       Width,

       Height,

       FramesPerSecond,

       pCodecInfo

       HideScreenOverlays)

 

C#

 

string CreateMovie(

       string Name,

       int Width,

       int Height,

       double FramesPerSecond,

       ICodecInfo66 pCodecInfo

       bool HideScreenOverlays)

 

C++

 

HRESULT CreateMovie(

       BSTR Name,

       long Width,

       long Height,

       double FramesPerSecond,

       ICodecInfo66* pCodecInfo,

       VARIANT_BOOL HideScreenOverlays

       BSTR* pVal)

Parameters

Name

A name for the movie file.

Note: Only the file name should be used here without the file's full path. The return value will include the file's full path.

Width

The width of each frame.

Height

The height of each frame.

FramesPerSecond

The number of movie frames per second.

pCodecInfo

An ICodecInfo66 representing codec information about the codecs installed and registered on the client computer.

HideScreenOverlays

A Boolean that determines whether HUD controls will be shown in the recorded movie. When set to FALSE, any HUD control that is visible during the creation of the movie will be shown in the movie as well. The presentation control will never be shown (even if HideScreenOverlays is set to FALSE).

 

Return Value

pVal

A full path of the movie being created.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.