MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 401

Extending flash
Table of Contents

Advertisement

Example
The following example sets the
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.breakAtCorners = true;
fl.getDocumentDOM().setCustomStroke( myStroke );
stroke.capType
Availability
Flash 8.
Usage
stroke.capType
Description
Property; a string that specifies the type of cap for the stroke. Acceptable values are
, and
"round"
"square"
Example
The following example sets the stroke cap type to
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.capType = "round";
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.color
Availability
Flash MX 2004.
Usage
stroke.color
Description
Property; the color of the stroke, in one of the following formats:
A string in the format
A hexadecimal number in the format
An integer that represents the decimal equivalent of a hexadecimal number
breakAtCorners
.
or
"#RRGGBB"
"#RRGGBBAA"
0xRRGGBB
property to
:
true
:
"round"
,
"none"
Stroke object
401

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?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents