Fade()

Syntax:

Fade( Trans, Time, Wait )

Parameters:

Trans – set the transparency of the specified Object. Trans should be a percentage. If Trans is a negative number (e.g.-50) it is a fade-in. If Trans is a positive number (e.g.75) it is a fade-out. This parameter is required.

Time – the time period in seconds. This parameter is optional. The default value is 0.0 seconds

Wait – Wait for this script command to complete before moving to the next script command, or not to wait. Wait is either true or false. If Wait is true, the script pauses until this animation is completed before continuing to the next line of the script. If Wait is false, the script will process the next line of script immediately. This parameter is optional. The default value is true.

Remarks:

This function adjusts the current transparency of the specified object by the amount in Trans. The value of Trans is added to the current transparency of the specified Object. There is an optional Time facility.

image\Script_Button.jpgExamples