Reference Manual - Table of Contents

Execution Control
Forms and Windows
Controls
Menus
System and Desktop
Graphic Drawing Commands

Animation
QuickTime Movies
Speech
Sound
File I/O
Printing
Serial Ports

Math Functions
String Functions
Date and Time
Memory Buffers
Error Handling
Console Text Window

Events

Direct Memory Access
Direct Mouse Access
Direct Keyboard Access
Code Resource Modules

A - Runtime Error Messages
B - Compiler Error Messages

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, y

Function Summary:
var = IsMovie ( )

 

MovieOpen var, windowID, options, Filename$

This command creates a window with the location and size specified.

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

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.

MovieClose MovieID

This command closes the QuickTime movie associated with the MovieID.

MovieMove MovieID, x, y

This command moves the QuickTime movie associated with the MovieID.

var = IsMovie ( )

This function returns a value indicating what version of Apple’s QuickTime is installed for specified movie playing. A return of zero means that QuickTime is not installed.