Parameters
A floating point value from 0.25 to 10 that specifies the stroke size. The method ignores
size
precision greater than two decimal places.
Returns
Nothing.
Description
Method; changes the stroke size of the selection to the specified size. For information on changing
the stroke in the toolbar and Property inspector, see
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. Valid values are
strokeType
,
"hairline"
"solid", "dashed"
Returns
Nothing.
Description
Method; changes the stroke style of the selection to the specified style. For information on
changing the stroke in the toolbar and Property inspector, see
Example
The following example changes the stroke style for the selection to
fl.getDocumentDOM().setStrokeStyle("dashed");
document.setTextRectangle()
Availability
Flash MX 2004.
Usage
document.setTextRectangle( boundingRectangle )
document.setCustomStroke()
,
,
"dotted"
"ragged"
,
, and
"stipple"
"hatched"
document.setCustomStroke()
:
"dashed"
Document object
.
.
.
123
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?