User Guide

Stroke object 279
stroke.jiggle
Availability
Flash MX 2004.
Usage
stroke.jiggle
Description
Property; a string that specifies the jiggle property of a hatched line. This property is available
only if the
stroke.style property is set to "hatched". Acceptable values are "none", "bounce",
"loose", and "wild".
Example
The following example sets the jiggle property to "wild" for a stroke style of 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.length
Availability
Flash MX 2004.
Usage
stroke.length
Description
Property; a string that specifies the length of a hatch line. This property is available only if the
stroke.style property is set to "hatched". Acceptable values are "equal", "slight",
"variation", "medium variation", and "random".
Example
The following example sets the length property to "slight" for a stroke style of 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 );