Stroke.dotspace; Stroke.hatchthickness - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

myStroke.density = "sparse";
fl.getDocumentDOM().setCustomStroke( myStroke );

stroke.dotSpace

Availability
Flash MX 2004.
Usage
stroke.dotSpace
Description
Property; an integer that specifies the spacing between dots in a dotted line. This property is
available only if the
Example
The following example sets the
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "dotted";
myStroke.dotSpace= 3;
fl.getDocumentDOM().setCustomStroke( myStroke );

stroke.hatchThickness

Availability
Flash MX 2004.
Usage
stroke.hatchThickness
Description
Property; a string that specifies the thickness of a hatch line. This property is available only if the
property is set to
stroke.style
, and
"medium"
"thick"
Example
The following example sets the
:
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 );
278
Chapter 3: Objects
property is set to
stroke.style
dotSpace
"hatched"
.
hatchThickness
.
"dotted"
property to
for a stroke style of
3
. Acceptable values are
property to
"thin"
:
dotted
,
,
"hairline"
"thin"
for a stroke style of

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents