MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 160

Extending flash
Table of Contents

Advertisement

Description
Method; changes the stroke size of the selection to the specified size. For information on
changing the stroke in the Tools panel and Property inspector, see
document.setCustomStroke()
Example
The following example changes the stroke size for the selection to 5:
fl.getDocumentDOM().setStrokeSize(5);
document.setStrokeStyle()
Availability
Flash MX 2004.
Usage
document.setStrokeStyle( strokeType )
Parameters
A string that specifies the stroke style for the current selection. Acceptable
strokeType
values are
"hairline"
.
"hatched"
Returns
Nothing.
Description
Method; changes the stroke style of the selection to the specified style. For information on
changing the stroke in the Tools panel and Property inspector, see
document.setCustomStroke()
Example
The following example changes the stroke style for the selection to
fl.getDocumentDOM().setStrokeStyle("dashed");
160
Objects
.
,
"solid", "dashed"
.
,
,
"dotted"
"ragged"
,
, and
"stipple"
:
"dashed"

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents