Stroke object
403
Description
Property; an integer that specifies the lengths of the solid parts of a dashed line. This property
is available only if the
stroke.style
property is set to
"dashed"
(see
stroke.style
).
Example
The following example sets the
dash1
and
dash2
properties for a stroke style of
dashed
:
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
Description
Property; an integer that specifies the lengths of the blank parts of a dashed line. This
property is available only if the
stroke.style
property is set to
"dashed"
(see
stroke.style
).
Example
See
stroke.dash1
.
stroke.density
Availability
Flash MX 2004.
Usage
stroke.density
Description
Property; a string that specifies the density of a stippled line. This property is available only if
the
stroke.style
property is set to
"stipple"
(see
stroke.style
). Acceptable values are
"very dense"
,
"dense"
,
"sparse"
, and
"very sparse"
.
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...