var fill = fl.getDocumentDOM().getCustomFill();
fill.linearGradient = true;
fill.colorArray = [ 00ff00, ff0000, fffff ];
var stroke = fl.getDocumentDOM().getCustomStroke();
stroke.shapeFill = fill;
fl.getDocumentDOM().setCustomStroke(stroke);
stroke.space
Availability
Flash MX 2004.
Usage
stroke.space
Description
Property; a string that specifies the spacing of a hatched line. This property is available only if
the
property is set to
(see
). Acceptable values are
stroke.style
"hatched"
stroke.style
,
,
, and
.
"very close"
"close"
"distant"
"very distant"
Example
The following example sets the
property to
for a stroke style of
:
space
"close"
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.strokeHinting
Availability
Flash 8.
Usage
stroke.strokeHinting
Description
Property; a Boolean value that specifies whether stroke hinting is set on the stroke.
410
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?