mcActionDoScript allows a movie to send requests to execute scripts of various sorts to a host application. The parameter is of type QTDoScriptPtr.
struct QTDoScriptRecord { |
long scriptTypeFlags; |
char *command; |
char *arguments; |
}; |
typedef QTDoScriptRecord *QTDoScriptPtr; |
These are the constants currently defined for the scriptTypeFlags field:
enum { |
kScriptIsUnknownType = 1L << 0 |
kScriptIsJavaScript = 1L << 1, |
kScriptIsLingoEvent = 1L << 2, |
kScriptIsVBEvent = 1L << 3, |
kScriptIsProjectorCommand = 1L << 4 |
}; |
For more information, see the explanation above of the new wired action kActionDoScript.
mcActionRestartAtTime |
This allows a movie to be restarted at a particular time and rate.
The parameter is a QTRestartAtTimePtr.
struct QTRestartAtTimeRecord { |
TimeValue startTime; /* time scale is the movie timescale*/ |
Fixed rate; /* if rate is 0, the movie's current |
rate is maintained*/ |
}; |
typedef struct QTRestartAtTimeRecord QTRestartAtTimeRecord; |
typedef QTRestartAtTimeRecord *QTRestartAtTimePtr; |
For more information, see the explanation above of the new wired action kActionMovieRestartAtTime.
Last updated: 2002-10-01