MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 348

Extending flash
Table of Contents

Advertisement

path.newContour()
Availability
Flash MX 2004.
Usage
path.newContour()
Parameters
None.
Returns
Nothing.
Description
Method; starts a new contour in the path.
Example
The following example creates a hollow square:
var myPath = fl.drawingLayer.newPath();
myPath.addPoint( 0,
myPath.addPoint( 0, 30);
myPath.addPoint(30, 30);
myPath.addPoint(30,
myPath.addPoint( 0,
myPath.newContour();
myPath.addPoint(10, 10);
myPath.addPoint(10, 20);
myPath.addPoint(20, 20);
myPath.addPoint(20, 10);
myPath.addPoint(10, 10);
myPath.makeShape();
348
Objects
0);
0);
0);

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents