MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 346

Extending flash
Table of Contents

Advertisement

Description
Method; adds a point to the path.
Example
The following example creates a new path, stores it in the
variable, and assigns the
myPath
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
variable:
myPath
var myPath = fl.drawingLayer.newPath();
myPath.clear();
path.close()
Availability
Flash MX 2004.
Usage
path.close()
Parameters
None.
346
Objects

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents