Extending Flash |
|
|
|
| Objects > Document object > document.setStrokeSize() | |||
Flash MX 2004.
document.setStrokeSize(size)
size A floating-point value from 0.25 to 10 that specifies the stroke size. The method ignores precision greater than two decimal places.
Nothing.
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().
The following example changes the stroke size for the selection to 5:
fl.getDocumentDOM().setStrokeSize(5);
|
|
|
|