MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 405

Extending flash
Table of Contents

Advertisement

Example
The following example sets the
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "dotted";
myStroke.dotSpace= 3;
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.hatchThickness
Availability
Flash MX 2004.
Usage
stroke.hatchThickness
Description
Property; a string that specifies the thickness of a hatch line. This property is available only if
the
property is set to
stroke.style
,
"hairline"
"thin"
Example
The following example sets the
:
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.jiggle
Availability
Flash MX 2004.
Usage
stroke.jiggle
dotSpace
"hatched"
,
, and
"medium"
"thick"
hatchThickness
property to
for a stroke style of
3
(see
stroke.style
.
property to
"thin"
:
dotted
). Acceptable values are
for a stroke style of
Stroke object
405

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents