General Info

The Flash object is compatible with any version of the Macromedia Flash Player control. However, some Flash movies will only display in certain versions of the control. Therefore you may want to take steps to ensure that your users will have the appropriate version of the control installed on their systems.

In the Standard edition of AutoPlay Media Studio, the detection of the Flash control will be done automatically if you include one or more Flash objects in your project. If the end user does not have the control installed, AutoPlay will display a message to inform the user and to allow them to proceed to a website where they can install it, or automatically open a file. You can control whether or not the check will be performed using the Global Variable _DoFlashCheck.

Note: In the Professional edition of AutoPlay Media Studio you will need to configure this detection by going to Project > Dependencies. There you will be able to select the Flash ActiveX control and customize it's detection properties.

_DoFlashCheck

A Boolean variable used to control whether or not AutoPlay Media Studio will check for the Flash Player ActiveX control at runtime. If it is set to true (automatically set when the project contains a Flash object), the check will be performed. If it is set to false, no check will be performed. If the check is performed and the control is not found (based on the default version 6.0.0.0), AutoPlay will display a message informing the user. _DoFlashCheck can be set in Global Functions.

 

There are a series of other configurations you can make when checking for the Flash Player control in the Standard edition. The table _tblNotificationMessages contains the following indexes that can be set. These table entries can be set in Global Functions to override their defaults:

MissingFlashTitle

A table entry containing the title string you want to appear on the notification dialog. For example, to set the title text to "Incorrect Flash Version", the following script is needed:

_tblNotificationMessages["MissingFlashTitle"] = "Incorrect Flash Version";

MissingFlashMessage

A table entry containing the message string you want to appear on the notification dialog. The following is an example of setting the message text:

_tblNotificationMessages["MissingFlashMessage"] = "This application requires Macromedia Flash Player version %s or greater to operate properly.  You can download Flash Player for free from %s. Would you like to download Flash Player now?";

Note: The text %s in the example message above is a place holder for the version string and the website string defined in the table. These must exist if you modify it's text.

MissingFlashWebSite

A table entry containing the website string you want to open from the notification dialog. This URL will be opened if the user clicks the "Yes" button on the dialog.

_tblNotificationMessages["MissingFlashWebSite"] = "http://www.macromedia.com";

Note: This entry can also contain the path to a file you want to open. For example "AutoPlay\\Docs\\myfile.txt".

MissingFlashMinVersion

A table entry containing the version string you want to use when checking the Flash control. If the version detected is less than the version specified in this string, the notification dialog will display. For example, to set the version string to "6.0.0.0", the following script is needed:

_tblNotificationMessages["MissingFlashMinVersion"] = "6.0.0.0";