|

Properties



CONSTANT


VALUE DESCRIPTION


ALIGN_DEFAULT


0


Default.


ALIGN_TOP


1


Align the flash movie to the top of the flash object.


ALIGN_LEFT


2


Align the flash movie to the left 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:


CONSTANT


VALUE DESCRIPTION


MENU_STANDARD


0


Standard context menu.


MENU_FULL


1


Full context menu.


ALIGN_BOTTOM


3


Align the flash movie to the bottom of the flash object.


ALIGN_RIGHT


4


Align the flash movie to the right of the flash object.


ALIGN_TOP_LEFT


5


Align the flash movie to the top- left of the flash object.


ALIGN_TOP_RIGHT


6


Align the flash movie to the top- right of the flash object.


ALIGN_BOTTOM_LEFT


7


Align the flash movie to the bottom-left of the flash object.


ALIGN_BOTTOM_RIGHT


8


Align the flash movie to the bottom-right of the flash object.



Menu


number


The right-click context menu:


Quality


number


The quality that the current flash movie is displayed at:


CONSTANT


VALUE DESCRIPTION


QUALITY_LOW


0


Gives priority to playback speed over

appearance. Anti-

aliasing is turned off.


QUALITY_HIGH


1


Gives priority to appearance over


CONSTANT


VALUE DESCRIPTION


SHOW_ALL


0


Makes the entire movie visible in the area defined by the object's bounding box without


NO_BORDER


1


Scales the movie to fill the area defined by the object's bounding box without


QUALITY_HIGH


1


Gives priority to appearance over playback speed. Anti- aliasing is turned on.


QUALITY_AUTO_LOW


2


Emphasizes speed at first, but improves appearance whenever possible. Playback begins with anti-aliasing turned off; if the Player determines that the system can handle it, it turns anti-aliasing on.


QUALITY_AUTO_HIGH


3


Emphasizes speed and appearance equally at first, but sacrifices appearance for the sake of speed if necessary. Playback begins with anti-aliasing turned on, but it will be turned off if the frame rate drops below an acceptable level.



ScalingMode


number


The style of the flash object:


that falls outside the area defined by the object's bounding box will be cropped.


EXACT_FIT


2


Resizes the movie to fill the area defined by the object's bounding box, ignoring the movie's original aspect ratio. The movie may appear distorted as a result.



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 "&&&".


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

Flash.SetReturnValue

OverviewExamples

Flash.SetReturnValue ( string ObjectName,


string XMLReturnValue )


De s cr ip t ion


Returns an XML formatted string as the result of a Flash object's actionscript function call through Flash's external API (ExternalInterface class). This action is normally used on the Flash object's On FlashCall event.


Note: This action requires Flash version 8.0 or later to be installed on the target system.


image

P arame t er s


ObjectName


(string) The name of the Flash object.


|