Reference Manual - Table of Contents QuickTime Movies It is very easy to play QuickTime movies in your Visual MacStandardBasic applications. Visual MacStandardBasic supports up to 10 movies playing simultaneously.
Command Summary:
MovieOpen var, window, options, MovieFilename$
MoviePlay MovieID
MovieClose MovieID
MovieMove MovieID, x, yFunction Summary:
var = IsMovie ( )
MovieOpen var, windowID, options, Filename$
This command creates a window with the location and size specified.
var - This should be a numeric variable that will contain a value representing the MovieID that should be used to reference the movie being opened. This variable will equal a -1 if an error occurs.
windowID - This should be a Form name or a variable, used in the WINDOW command, that contains a value that is used to reference the window.
options - This is a numeric expression designating whether a movie controller will be attached to the movie.
Options
0 = Movie will NOT automatically resize window
1 = Movie has control bar, will NOT automatically resize window
2 = Movie will automatically resize window
3 = Movie has control bar and will automatically resize window
Filename$ - This is a string expression designating the the filename of the QuickTime movie file.
Example: Dim m1 Form Form1 MovieOpen m1, Form1, 3, "My Movie File" MoviePlay m1
MoviePlay MovieID
This command plays the QuickTime movie associated with the MovieID.
MovieID - This should be a numeric variable that will contain a value the should be used to reference the movie to open. This value is normally the var from the MovieOpen command.
MovieClose MovieID
This command closes the QuickTime movie associated with the MovieID.
MovieID - This should be a numeric variable that will contain a value the should be used to reference the movie to open. This value is normally the var from the MovieOpen command.
MovieMove MovieID, x, y
This command moves the QuickTime movie associated with the MovieID.
MovieID - This should be a numeric variable that will contain a value the should be used to reference the movie to open. This value is normally the var from the MovieOpen command.
var = IsMovie ( )
This function returns a value indicating what version of Apples QuickTime is installed for specified movie playing. A return of zero means that QuickTime is not installed.