OverviewExamples
QuickTime.SetProperties ( |
Sets the properties of a QuickTime object.
(string) The name of the QuickTime object.
(table) A table containing the QuickTime object's properties indexed by the following keys:
KEY |
TYPE |
DESCRIPTION |
||||||||||||
MovieFile |
string |
The media file to load into the QuickTime object. |
||||||||||||
SizingMode |
number |
How to display the media within the QuickTime control:
|
||||||||||||
BorderStyle |
number |
The type of border to show around the object:
|
||||||||||||
AutoStart |
boolean |
True if the QuickTime object should automatically play the loaded media as soon as the page or dialog is shown, false if it should not. |
||||||||||||
Loop |
boolean |
True if the media should restart when it ends, false if it should not. |
||||||||||||
ShowControls |
boolean |
True if the control panel should be shown, false if it should not. |
||||||||||||
UseBackgroundColor |
boolean |
True if the color specified in BackgroundColor should be used as the background of the media, false if it should not. |
||||||||||||
BackgroundColor |
number |
The color to replace the media background with if UseBackgroundColor is set to true. |
||||||||||||
Enabled |
boolean |
True if the QuickTime object should be enabled, false if it should not be. |
||||||||||||
Visible |
boolean |
True if the QuickTime object should be visible, false if it should not be. |
||||||||||||
X |
number |
The horizontal position (in pixels) of the top left corner of the QuickTime object in relation to the current page or dialog. Note: The top left corner of the current page or dialog has an X value of 0 |
||||||||||||
Y |
number |
The vertical position (in pixels) of the top left corner of the QuickTime object in relation to the current page or dialog. Note: The top left corner of the current page or dialog has a Y value of 0 |
||||||||||||
Width |
number |
The width (in pixels) of the QuickTime object. |
||||||||||||
Height |
number |
The height (in pixels) of the QuickTime object. |
||||||||||||
ResizeLeft |
boolean |
True if the left side of the object should move when the application is resized, false if it should not. |
||||||||||||
ResizeRight |
boolean |
True if the right side of the object should move when the application is resized, false if it should not. |
||||||||||||
ResizeTop |
boolean |
True if the top of the object should move when the application is resized, false if it should not. |
||||||||||||
ResizeBottom |
boolean |
True if the bottom of the object should move when the application is resized, false if it should not. |
||||||||||||
HighlightSound |
number |
The type of sound that should be played when the mouse moves over the QuickTime object.
|
||||||||||||
HighlightSoundFile |
string |
The path to the QuickTime object's custom highlight sound file if it uses one. |
||||||||||||
ClickSound |
number |
The type of sound that should be played when the mouse clicks the QuickTime object.
|
||||||||||||
ClickSoundFile |
string |
The path to the QuickTime object's custom click sound file if it should use one. |
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions