Chapter 30: oval object, Ovalobject.closepath, Oval object – Adobe Extending Flash Professional CS5 User Manual
Page 370: For examples
348
Last updated 5/2/2011
Chapter 30: Oval object
Inheritance
>
Availability
Flash CS3 Professional.
Description
The Oval object is a shape that is drawn using the Oval Primitive tool. To determine if an item is an Oval object, use
.
Property summary
In addition to the
properties, you can use the following properties with the Oval object. To set the
properties of an Oval object, use
document.setOvalObjectProperty()
OvalObject.closePath
Availability
Flash CS3 Professional.
Usage
OvalObject.closePath
Description
Read-only property; a Boolean value that specifies whether the Close Path check box in the Property inspector is
selected. If the start angle and end angle values for the object are the same, setting this property has no effect until the
values change.
To set this value, use
document.setOvalObjectProperty()
.
Example
The following example deselects the
OvalObject.closePath
property:
fl.getDocumentDOM().setOvalObjectProperty("closePath",false);
See also
document.setOvalObjectProperty()
Property
Description
Read-only; a Boolean value that specifies whether the Close Path check box in the Property
inspector is selected.
Read-only; a float value that specifies the end angle of the Oval object.
Read-only; a float value that specifies the inner radius of the Oval object as a percentage.
Read-only; a float value that specifies the start angle of the Oval object.