Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 357

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 560
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 356
335
Chapter 30: Oval object
Inheritance Element object > Shape object > Oval object
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
shape.isOvalObject.
Property summary
In addition to the Shape object 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(), shape.isOvalObject
Property Description
OvalObject.closePath Read-only; a Boolean value that specifies whether the Close Path check box in the Property
inspector is selected.
OvalObject.endAngle Read-only; a float value that specifies the end angle of the Oval object.
OvalObject.innerRadius Read-only; a float value that specifies the inner radius of the Oval object as a percentage.
OvalObject.startAngle Read-only; a float value that specifies the start angle of the Oval object.
Vue de la page 356
1 2 ... 352 353 354 355 356 357 358 359 360 361 362 ... 559 560

Commentaires sur ces manuels

Pas de commentaire