moveTo()
Top  Previous  Next


SWiSH Player Support
SWF6 or later - Not Supported (Use File | Test | Browser/Player)

Syntax
mySprite.moveTo(x,y)

Arguments
x: the horizontal position that the drawing position is moved to.
y: the vertical position that the drawing position is moved to.

Returns
Nothing.

Description
Method; repositions the drawing position to the coordinates specified in the x and y arguments. If these arguments are omitted, the function will fail.