Stroke object
275
stroke.breakAtCorners
Availability
Flash MX 2004.
Usage
stroke.breakAtCorners
Description
Property; a Boolean value. This property is the same as the Sharp Corners setting in the custom
Stroke Style dialog box.
Example
The following example sets the
breakAtCorners
property to
true
:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.breakAtCorners = true;
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.color
Availability
Flash MX 2004.
Usage
stroke.color
Description
Property; a color string in hexadecimal (#rrggbb) format or an integer containing the value. This
property represents the stroke color.
Example
The following example sets the stroke color:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.color = "#000000";
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.curve
Availability
Flash MX 2004.
Usage
stroke.curve
stroke.waveHeight
A string that specifies the wave height of a ragged line.
stroke.waveLength
A string that specifies the wave length of a ragged line.
Property
Description
Summary of Contents for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Page 1: ...Flash JavaScript Dictionary ...
Page 16: ...16 Contents ...
Page 40: ...40 Chapter 2 Top level functions ...
Page 368: ...368 Chapter 3 Objects ...