OverviewExamples
Flash.SetProperties ( |
Sets 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 |
||||||||||||||||||||||||||||||
FlashFile |
string |
The flash file to load. |
||||||||||||||||||||||||||||||
Alignment |
number |
How the flash movie should be 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 |
Set to true to override the background color of the Flash file (.swf). This allows you to replace the background color in your Flash file with something more appropriate. |
||||||||||||||||||||||||||||||
BGOverrideColor |
number |
The color to use to replace the flash background with if OverrideBackground is set to true. |
||||||||||||||||||||||||||||||
DeviceFont |
boolean |
Set to true to 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 |
Set to true to start playing the Flash movie automatically (as soon as the page or dialog is opened). |
||||||||||||||||||||||||||||||
Loop |
boolean |
Set to true to automatically begin playing the movie from the beginning again whenever the Flash movie reaches the end. |
||||||||||||||||||||||||||||||
Enabled |
boolean |
True if the flash object should be enabled, false if it should not be. |
||||||||||||||||||||||||||||||
Visible |
boolean |
True if the flash object should be visible, false if it should not be. |
||||||||||||||||||||||||||||||
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. |
||||||||||||||||||||||||||||||
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. |
||||||||||||||||||||||||||||||
TooltipText |
string |
The mouseover tooltip of the flash object. Tip: If you want a "&" character in the text, you must enter "&&&". |
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions