MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 402

Extending flash
Table of Contents

Advertisement

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
Description
Property; a string that specifies type of hatching for the stroke. This property can be set only if
the
property is
(see
). Acceptable values are
stroke.style
"hatched"
stroke.style
,
,
, and
.
"straight"
"slight curve"
"medium curve"
"very curved"
Example
The following example sets the curve property, as well as others, for a stroke having the
style:
"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.dash1
Availability
Flash MX 2004.
Usage
stroke.dash1
402
Objects

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents