Usage
stroke.thickness
Description
Property; an integer that specifies the stroke size.
Example
The following example sets the
property of the stroke to a value of
:
thickness
2
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.thickness = 2;
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.variation
Availability
Flash MX 2004.
Usage
stroke.variation
Description
Property; a string that specifies the variation of a stippled line. This property is available only
if the
property is set to
(see
). Acceptable values are
stroke.style
"stipple"
stroke.style
,
,
, and
.
"one size"
"small variation"
"varied sizes"
"random sizes"
Example
The following example sets the variation property to
for a stroke style of
"random sizes"
:
stipple
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "stipple";
myStroke.dotSpace= 3;
myStroke.variation = "random sizes";
myStroke.density = "sparse";
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.waveHeight
Availability
Flash MX 2004.
Usage
stroke.waveHeight
412
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers