drawingLayer.moveTo()
Availability
Flash MX 2004.
Usage
drawingLayer.moveTo(x, y)
Parameters
A floating-point value that specifies the x coordinate of the position at which to start
x
drawing.
A floating-point value that specifies the y coordinate of the position at which to start
y
drawing.
Returns
Nothing.
Description
Method; sets the current drawing position. You typically use this method only when creating
extensible tools.
Example
The following example sets the current drawing position at the point (10,15):
fl.drawingLayer.moveTo(10, 15);
drawingLayer.newPath()
Availability
Flash MX 2004.
Usage
drawingLayer.newPath()
Parameters
None.
Returns
A Path object.
Description
Method; returns a new
tools.
Example
The following example returns a new Path object:
fl.drawingLayer.newPath();
140
Chapter 3: Objects
Path
object. You typically use this method only when creating extensible
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?