MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 345

Extending flash
Table of Contents

Advertisement

Parameters
A floating-point value that specifies the x position of the first control point.
xAnchor
A floating-point value that specifies the y position of the first control point.
yAnchor
A floating-point value that specifies the x position of the second control point.
x2
A floating-point value that specifies the y position of the second control point.
y2
A floating-point value that specifies the x position of the third control point.
x3
A floating-point value that specifies the y position of the third control point.
y3
Returns
Nothing.
Description
Method; appends a quadratic Bézier segment to the path.
Example
The following example creates a new path, stores it in the
curve to the path:
var myPath = fl.drawingLayer.newPath();
myPath.addCurve(0, 0, 10, 20, 20, 0);
path.addPoint()
Availability
Flash MX 2004.
Usage
path.addPoint(x, y)
Parameters
A floating-point value that specifies the x position of the point.
x
A floating-point value that specifies the y position of the point.
y
Returns
Nothing.
variable, and assigns the
myPath
Path object
345

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