Extending Flash |
|
|
|
| Objects > Document object > document.setStrokeStyle() | |||
Flash MX 2004.
document.setStrokeStyle(strokeType)
strokeType A string that specifies the stroke style for the current selection. Acceptable values are "hairline", "solid", "dashed", "dotted", "ragged", "stipple", and "hatched".
Nothing.
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().
The following example changes the stroke style for the selection to "dashed":
fl.getDocumentDOM().setStrokeStyle("dashed");
|
|
|
|