MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 407

Extending flash
Table of Contents

Advertisement

Description
Property; a string that specifies the length of a hatch line. This property is available only if the
property is set to
(see
). Acceptable values are
stroke.style
"hatched"
stroke.style
,
,
,
, and
.
"equal"
"slight"
"variation"
"medium variation"
"random"
Example
The following example sets the
property to
for a stroke style of
:
length
"slight"
hatched
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "hatched";
myStroke.curve = "straight";
myStroke.space = "close";
myStroke.jiggle = "wild";
myStroke.rotate = "free";
myStroke.length = "slight";
myStroke.hatchThickness = "thin";
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.miterLimit
Availability
Flash 8.
Usage
stroke.miterLimit
Description
Property; a float value that specifies the angle above which the tip of the miter will be
truncated by a segment. That means the miter is truncated only if the miter angle is greater
than the value of
.
miterLimit
Example
The following example changes the miter limit of the stroke setting to 3. If the miter angle is
greater than 3, the miter is truncated.
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.miterLimit = 3;
var myStroke = fl.getDocumentDOM().setCustomStroke();
Stroke object
407

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents