document.setStrokeSize()

#### Availability

Flash MX 2004.

#### Usage

document.setStrokeSize(size)

#### Parameters

size A floating-point value from 0.25 to 250that specifies the stroke size. The method ignores 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 Tools panel and Property inspector, see document.setCustomStroke() (../Document_object/docum480.md).

#### Example

The following example changes the stroke size for the selection to 5:
fl.getDocumentDOM().setStrokeSize(5);

```