MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 409

Extending flash
Table of Contents

Advertisement

Example
The following example sets the
property to
for a style stroke of
:
rotate
"free"
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";
stroke.scaleType
Availability
Flash 8.
Usage
stroke.scaleType
Description
Property; a string that specifies the type of scale to be applied to the stroke. Acceptable values
are
,
,
, and
.
"normal"
"horizontal"
"vertical"
"none"
Example
The following example sets the scale type of the stroke to
:
"horizontal"
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.scaleType = "horizontal";
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.shapeFill
Availability
Flash 8.
Usage
stroke.shapeFill
Description
Property; a
Fill object
that represents the fill settings of the stroke.
Example
The following example specifies fill settings and then applies them to the stroke:
Stroke object
409

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?

This manual is also suitable for:

Flash 8

Table of Contents