Example
The following example enables stroke hinting for the stroke:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.strokeHinting = true;
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.style
Availability
Flash MX 2004.
Usage
stroke.style
Description
Property; a string that describes the stroke style. Acceptable values are
,
"dashed"
"dotted"
additional properties of the stroke object to be set, as described in the following list:
If value is
"solid"
If value is
"dashed",
If value is
"dotted",
If value is
"ragged",
and
"waveLength"
If value is
"stipple",
and
.
"density"
If value is
"hatched",
,
"jiggle"
"rotate"
Example
The following example sets the stroke style to
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "ragged";
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.thickness
Availability
Flash MX 2004.
,
,
"ragged"
"stipple"
or
there are no other properties.
"noStroke",
there are two additional properties:
there is one additional property:
there are three additional properties:
.
there are three additional properties:
there are six additional properties:
,
, and
"curve"
"length"
, and
. Some of these values require
"hatched"
"dash1"
"dotSpace"
"pattern"
"dotSize"
"hatchThickness"
.
:
"ragged"
"noStroke", "solid"
and
.
"dash2"
.
,
"waveHeight"
,
"variation"
,
"space"
Stroke object
,
,
,
,
411
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers