Returns
Nothing.
Description
Method; appends a point at the location of the first point of the path and extends the path to
that point, which closes the path. If the path has no points, no points are added.
Example
The following example creates a closed path:
var myPath = fl.drawingLayer.newPath();
myPath.close();
path.makeShape()
Availability
Flash MX 2004.
Usage
path.makeShape([bSupressFill [, bSupressStroke]])
Parameters
A Boolean value that, if set to
bSuppressFill
applied to the shape. The default value is
A Boolean value that, if set to
bSupressStroke
applied to the shape. The default value is
Returns
Nothing.
Description
Method; creates a shape on the Stage by using the current stroke and fill settings. The path is
cleared after the shape is created. This method has two optional parameters for suppressing
the fill and stroke of the resulting shape object. If you omit these parameters or set them to
, the current values for fill and stroke are used.
false
Example
The following example creates a shape with the current fill and no stroke:
var myPath = fl.drawingLayer.newPath();
myPath.makeShape(false, true);
, suppresses the fill that would be
true
. This parameter is optional.
false
, suppresses the stroke that would be
true
. This parameter is optional.
false
Path object
347
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?