Flash 8.
stroke.capType
Property; a string that specifies the type of cap for the stroke. Acceptable values are "none", "round", and "square".
The following example sets the stroke cap type to round:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.capType = "round";
fl.getDocumentDOM().setCustomStroke(myStroke);