OverviewExamples
table Flash.GetProperties ( |
Returns a table containing the properties of a flash object.
(string) The name of the flash object.
(table) A table containing the flash object's properties, indexed by the following keys:
KEY |
TYPE |
DESCRIPTION |
||||||||||||||||||||||||||||||
ObjectName |
string |
The name of the flash object. |
||||||||||||||||||||||||||||||
FlashFile |
string |
The currently loaded flash file. |
||||||||||||||||||||||||||||||
Alignment |
number |
How the flash movie is aligned to the flash object:
|
||||||||||||||||||||||||||||||
Menu |
number |
The right-click context menu:
|
||||||||||||||||||||||||||||||
Quality |
number |
The quality that the current flash movie is displayed at:
|
||||||||||||||||||||||||||||||
ScalingMode |
number |
The style of the flash object:
|
||||||||||||||||||||||||||||||
OverrideBackground |
boolean |
True if the color specified in BGOverrideColor should override the background of the flash movie, false if it should not. |
||||||||||||||||||||||||||||||
BGOverrideColor |
number |
The color being used to replace the flash background with if OverrideBackground is set to true. |
||||||||||||||||||||||||||||||
DeviceFont |
boolean |
If true, the flash object will substitute installed system fonts for any fonts used in the Flash movie. Any text whose fonts are substituted will appear aliased (rough) regardless of the Quality setting. If the necessary fonts are not installed, the text will be rendered in the normal anti-aliased (smooth) way. |
||||||||||||||||||||||||||||||
AutoStart |
boolean |
True if the flash movie will automatically begin to play as soon as the page or dialog is opened, false if it is not. |
||||||||||||||||||||||||||||||
Loop |
boolean |
True if the movie will loop, false if it will not. |
||||||||||||||||||||||||||||||
Enabled |
boolean |
True if the flash object is enabled, false if it is not. |
||||||||||||||||||||||||||||||
Visible |
boolean |
True if the flash object is visible, false if it is not. |
||||||||||||||||||||||||||||||
X |
number |
The horizontal position (in pixels) of the top left corner of the flash 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 flash 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 flash object. |
||||||||||||||||||||||||||||||
Height |
number |
The height (in pixels) of the flash object. |
||||||||||||||||||||||||||||||
TooltipText |
string |
The mouseover tooltip of the flash object. |
||||||||||||||||||||||||||||||
ResizeLeft |
boolean |
True if the left side of the object will move when the application is resized, false if it is not. |
||||||||||||||||||||||||||||||
ResizeRight |
boolean |
True if the right side of the object will move when the application is resized, false if it is not. |
||||||||||||||||||||||||||||||
ResizeTop |
boolean |
True if the top of the object will move when the application is resized, false if it is not. |
||||||||||||||||||||||||||||||
ResizeBottom |
boolean |
True if the bottom of the object will move when the application is resized, false if it is not. |
||||||||||||||||||||||||||||||
WindowHandle |
number |
The integer value that represents the object's window. (Commonly referred to as an hWnd.) |
If the object cannot be found, nil will be returned. You can use Application.GetLastError to determine whether this action failed, and why.
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions