StopAnimation()

Syntax:

StopAnimation( StopCode, Wait )

Parameters:

StopCode – is a string containing one or more of the following options (each option should be separated by a "|" character. StopCode must be surrounded by quote marks. This parameter is required:

Roll – stop object rolling.

Spin – stop object spinning.

Rotate – stop object rotating.

Scale – stop horizontal and vertical scaling.

ScaleH – stop horizontal scaling.

ScaleV – stop vertical scaling.

Skew – stop horizontal and vertical skewing.

SkewH – stop horizontal skewing.

SkewV – stop vertical skewing.

Move – stop all x and y movements.

MoveX – stop all x movement.

MoveY – stop all y movement.

Fade – stop fading.

Path – stop x and y motion, plus rotation i.e. the types of animation undertaken when an object follows a path.

ALL – stop all current animations.

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 stops the animations selected within StopCode for the specified Object.

image\Script_Button.jpgExamples