346
Objects
Description
Method; adds a point to the path.
Example
The following example creates a new path, stores it in the
myPath
variable, and assigns the
new point to the path:
var myPath = fl.drawingLayer.newPath();
myPath.addPoint(10, 100);
path.clear()
Availability
Flash MX 2004.
Usage
path.clear()
Parameters
None.
Returns
Nothing.
Description
Method; removes all points from the path.
Example
The following example removes all points from a path stored in the
myPath
variable:
var myPath = fl.drawingLayer.newPath();
myPath.clear();
path.close()
Availability
Flash MX 2004.
Usage
path.close()
Parameters
None.
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...