Stroke.jiggle, Stroke.jointype, Stroke.length – Adobe Extending Flash Professional CS4 User Manual

Page 428: Property was deprecated in favor of, Flash mx 2004. deprecated in flash cs3 in favor of

Advertising
background image

406

EXTENDING FLASH CS4 PROFESSIONAL

Stroke object

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

(see

stroke.style

). 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.joinType

Availability
Flash 8.

Usage

stroke.joinType

Description
Property; a string that specifies the type of join for the stroke. Acceptable values are

"miter"

,

"round"

, and

"bevel"

.

See also

stroke.capType

stroke.length

Availability
Flash MX 2004.

Advertising