Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 408

  • 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 407
386
EXTENDING FLASH CS4 PROFESSIONAL
Shape object
shape.deleteEdge()
Availability
Flash MX 2004.
Usage
shape.deleteEdge(index)
Parameters
index A zero-based index that specifies the edge to delete from the shape.edges array. This method changes the length
of the shape.edges array.
Returns
Nothing.
Description
Method; deletes the specified edge. You must call shape.beginEdit() before using this method.
Example
The following example takes the currently selected shape and removes the first edge in the edge array:
var shape = fl.getDocumentDOM().selection[0];
shape.beginEdit();
shape.deleteEdge(0);
shape.endEdit();
shape.edges
Availability
Flash MX 2004.
Usage
shape.edges
Description
Read-only property; an array of Edge objects (see Edge object).
shape.endEdit()
Availability
Flash MX 2004.
Usage
shape.endEdit()
Vue de la page 407
1 2 ... 403 404 405 406 407 408 409 410 411 412 413 ... 559 560

Commentaires sur ces manuels

Pas de commentaire