MoveY()

Syntax:

MoveY( PosY, Time, Wait )

Parameters:

PosYPosY is the amount in pixels by which to move the centre of the object in the y direction. PosY can be positive or negative e.g. (20 or –20). This parameter is required.

Time - A length of time in seconds to animate the move over. This parameter is optional.

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 moves the specified object’s mid point by PosY pixels down its container frame (or page if it is not in a frame). The y coordinate is left unchanged by this function. There is an optional Time parameter – see Remarks in function Move).

image\Script_Button.jpgExamples