Parameters
The color of the stroke, in one of the following formats:
color
A string in the format
A hexadecimal number in the format
An integer that represents the decimal equivalent of a hexadecimal number
Returns
Nothing.
Description
Method; changes the stroke color of the selection to the specified color. For information on
changing the stroke in the Tools panel and Property inspector, see
document.setCustomStroke()
Example
The three statements in the following example set the stroke color using each of the different
formats for specifying color:
flash.getDocumentDOM().setStrokeColor("#cc00cc");
flash.getDocumentDOM().setStrokeColor(0xcc00cc);
flash.getDocumentDOM().setStrokeColor(120000);
document.setStrokeSize()
Availability
Flash MX 2004.
Usage
document.setStrokeSize( size )
Parameters
A floating-point value from 0.25 to 10 that specifies the stroke size. The method
size
ignores precision greater than two decimal places.
Returns
Nothing.
or
"#RRGGBB"
"#RRGGBBAA"
0xRRGGBB
.
Document object
159
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers