Move()

Syntax:

Move( PosX, PosY, Time, Wait )

Parameters:

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

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 will move the specified object by the number of pixels entered in PosX and PosY. If Time is not specified, the move occurs immediately. If the specified object is inside a frame then the move will be with respect to the top left corner of the frame and not the page.

image\Script_Button.jpgExamples