![MACROMEDIA FLASH 8-EXTENDING FLASH Manual Download Page 160](http://html1.mh-extra.com/html/macromedia/flash-8-extending-flash/flash-8-extending-flash_manual_3348049160.webp)
160
Objects
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
strokeType
A string that specifies the stroke style for the current selection. Acceptable
values are
"hairline"
,
"solid",
"dashed"
,
"dotted"
,
"ragged"
,
"stipple"
, and
"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
"dashed"
:
fl.getDocumentDOM().setStrokeStyle("dashed");
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...