Description
Property; a string that specifies type of hatching for the stroke. This property can be set only if
property is
stroke.style
"medium curve"
Example
The following example sets the curve property, as well as others, for a stroke having the
style:
"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.dash1
Availability
Flash MX 2004.
Usage
stroke.dash1
Description
Property; an integer that specifies the lengths of the solid parts of a dashed line. This property is
available only if the
Example
The following example sets the
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "dashed";
myStroke.dash1 = 1;
myStroke.dash2 = 2;
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.dash2
Availability
Flash MX 2004.
Usage
stroke.dash2
276
Chapter 3: Objects
. Acceptable values are
"hatched"
, and
"very curved"
property is set to
stroke.style
and
dash1
.
"dashed"
properties for a stroke style of
dash2
,
"straight"
"slight curve"
.
dashed
,
:
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?