Stroke object
413
Description
Property; a string that specifies the wave height of a ragged line. This property is available only
if the
stroke.style
property is set to
"ragged"
(see
stroke.style
). Acceptable values are
"flat"
,
"wavy"
,
"very wavy"
, and
"wild"
.
Example
The following example sets the
waveHeight
property to
"flat"
for a stroke style of
ragged
:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "ragged";
myStroke.pattern = "random";
myStroke.waveHeight = "flat";
myStroke.waveLength = "short";
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.waveLength
Availability
Flash MX 2004.
Usage
stroke.waveLength
Description
Property; a string that specifies the wave length of a ragged line. This property is available only
if the
stroke.style
property is set to
"ragged"
(see
stroke.style
). Acceptable values are
"very short"
,
"short"
,
"medium"
, and
"long"
.
Example
The following example sets the
waveLength
property to
"short"
for a stroke style of
ragged:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "ragged";
myStroke.pattern = "random";
myStroke.waveHeight = 'flat";
myStroke.waveLength = "short";
fl.getDocumentDOM().setCustomStroke( myStroke );
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...