
404
Objects
Example
The following example sets the density property to
"sparse"
for the stroke style of
stipple
:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "stipple";
myStroke.dotSpace= 3;
myStroke.variation = "random sizes";
myStroke.density = "sparse";
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.dotSize
Availability
Flash MX 2004.
Usage
stroke.dotSize
Description
Property; a string that specifies the dot size of a stippled line. This property is available only if
the
stroke.style
property is set to
"stipple"
(see
stroke.style
). Acceptable values are
"tiny"
,
"small"
,
"medium"
, and
"large"
.
The following example sets the
dotsize
property to
"tiny"
for the stroke style of
stipple
:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "stipple";
myStroke.dotSpace= 3;
myStroke.dotsize = "tiny";
myStroke.variation = "random sizes";
myStroke.density = "sparse";
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.dotSpace
Availability
Flash MX 2004.
Usage
stroke.dotSpace
Description
Property; an integer that specifies the spacing between dots in a dotted line. This property is
available only if the
stroke.style
property is set to
"dotted"
. See
stroke.style
.
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...